Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1403 - trunk/Model/Groups


Chronological Thread 
  • From: thiago@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1403 - trunk/Model/Groups
  • Date: Fri, 25 May 2007 17:17:35 -0600 (MDT)

Author: thiago
Date: Fri May 25 17:17:34 2007
New Revision: 1403

Modified:
   trunk/Model/Groups/Group.cc
Log:
preprocess was doing twice the work. Removed one of the extra for loops I had 
accidently added some time ago.

Modified: trunk/Model/Groups/Group.cc
==============================================================================
--- trunk/Model/Groups/Group.cc (original)
+++ trunk/Model/Groups/Group.cc Fri May 25 17:17:34 2007
@@ -130,9 +130,6 @@
   //partition so that objs are serial and then parallel
   parallelSplit = partition(objs.begin(), objs.end(), isSerial);
 
-  for(int i=0; i<objs.size(); ++i)
-    objs[i]->preprocess(context);
-
   for(vector<Object*>::iterator iter = objs.begin();
       iter != objs.end(); ++iter)
     (*iter)->preprocess(context);




  • [MANTA] r1403 - trunk/Model/Groups, thiago, 05/25/2007

Archive powered by MHonArc 2.6.16.

Top of page