Revision: 56293
          http://sourceforge.net/p/brlcad/code/56293
Author:   brlcad
Date:     2013-07-28 16:27:56 +0000 (Sun, 28 Jul 2013)
Log Message:
-----------
remove material section that hasn't been used

Modified Paths:
--------------
    brlcad/trunk/src/libged/bot_dump.c

Modified: brlcad/trunk/src/libged/bot_dump.c
===================================================================
--- brlcad/trunk/src/libged/bot_dump.c  2013-07-28 16:20:21 UTC (rev 56292)
+++ brlcad/trunk/src/libged/bot_dump.c  2013-07-28 16:27:56 UTC (rev 56293)
@@ -1523,24 +1523,12 @@
                continue;
            }
 
-           /* Write out materials */
+           /* Write out object color */
            if (output_type == OTYPE_OBJ) {
-#if 0
-               struct _ged_obj_material *gomp;
-
-               gomp = get_obj_material(sp->s_color[0],
-                                           sp->s_color[1],
-                                           sp->s_color[2],
-                                           sp->s_transparency);
-
-               /* Write out usemtl to obj file */
-               fprintf(fp, "usemtl %s\n", bu_vls_addr(&gomp->name));
-#else
                curr_obj_red = sp->s_color[0];
                curr_obj_green = sp->s_color[1];
                curr_obj_blue = sp->s_color[2];
                curr_obj_alpha = sp->s_transparency;
-#endif
            }
 
            bot = (struct rt_bot_internal *)intern.idb_ptr;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to