Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[Manta] r1752 - trunk/Model/Instances


Chronological Thread 
  • From: bigler@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [Manta] r1752 - trunk/Model/Instances
  • Date: Mon, 1 Oct 2007 14:47:56 -0600 (MDT)

Author: bigler
Date: Mon Oct  1 14:47:55 2007
New Revision: 1752

Modified:
   trunk/Model/Instances/Instance.cc
Log:
Model/Instances/Instance.cc

  Preprocess the material if it's not itself.


Modified: trunk/Model/Instances/Instance.cc
==============================================================================
--- trunk/Model/Instances/Instance.cc   (original)
+++ trunk/Model/Instances/Instance.cc   Mon Oct  1 14:47:55 2007
@@ -76,6 +76,8 @@
   //cerr << MANTA_FUNC << endl;
   //cerr << " Before instance->preprocess (thread " << context.proc << " of 
" << context.numProcs << ")\n";
   instance->preprocess(context);
+  // TODO(bigler: change this to 0 when fixed)
+  if (material != this) material->preprocess(context);
   //cerr << " After instance->preprocess (thread " << context.proc << " of " 
<< context.numProcs << ")\n";
 }
 




  • [Manta] r1752 - trunk/Model/Instances, bigler, 10/01/2007

Archive powered by MHonArc 2.6.16.

Top of page