Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r1205 - trunk/Model/Readers/glm


Chronological Thread 
  • From: bigler@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r1205 - trunk/Model/Readers/glm
  • Date: Thu, 5 Oct 2006 21:34:57 -0600 (MDT)

Author: bigler
Date: Thu Oct  5 21:34:57 2006
New Revision: 1205

Modified:
   trunk/Model/Readers/glm/glm.cc
Log:

Try to use a default material name that is *more* unlikely to be found
in a real file.  "default" was just too easy to come across, as
evident by the Okino obj exporter.


Modified: trunk/Model/Readers/glm/glm.cc
==============================================================================
--- trunk/Model/Readers/glm/glm.cc      (original)
+++ trunk/Model/Readers/glm/glm.cc      Thu Oct  5 21:34:57 2006
@@ -344,7 +344,7 @@
       model->materials[i].diffuse_map[0] = '\0';
       model->materials[i].specular_map[0] = '\0';
     }
-    model->materials[0].name = strdup("default");
+    model->materials[0].name = strdup("NO_ASSIGNED_MATERIAL");
 
     /* now, read in the data */
     nummaterials = 0;




  • [MANTA] r1205 - trunk/Model/Readers/glm, bigler, 10/05/2006

Archive powered by MHonArc 2.6.16.

Top of page