Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1266 - trunk/Model/Primitives


Chronological Thread 
  • From: thiago@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1266 - trunk/Model/Primitives
  • Date: Fri, 12 Jan 2007 18:07:57 -0700 (MST)

Author: thiago
Date: Fri Jan 12 18:07:57 2007
New Revision: 1266

Modified:
   trunk/Model/Primitives/PrimitiveCommon.h
Log:
Fix bug in setMaterial(), where material was not being changed.

Modified: trunk/Model/Primitives/PrimitiveCommon.h
==============================================================================
--- trunk/Model/Primitives/PrimitiveCommon.h    (original)
+++ trunk/Model/Primitives/PrimitiveCommon.h    Fri Jan 12 18:07:57 2007
@@ -21,7 +21,7 @@
     void setTexCoordMapper(const TexCoordMapper* new_tex);
     const TexCoordMapper *getTexCoordMapper() const { return tex; }
 
-    void setMaterial( Material *material_ ) { material = material; }
+    void setMaterial( Material *material_ ) { material = material_; }
     Material *getMaterial() const { return material; }
 
   private:




  • [MANTA] r1266 - trunk/Model/Primitives, thiago, 01/12/2007

Archive powered by MHonArc 2.6.16.

Top of page