Revision: 33331
          http://brlcad.svn.sourceforge.net/brlcad/?rev=33331&view=rev
Author:   bob1961
Date:     2008-12-09 18:41:19 +0000 (Tue, 09 Dec 2008)

Log Message:
-----------
Modified the rt_comb_get function (i.e. added braces around rgb and shader 
values when getting all attributes).

Modified Paths:
--------------
    brlcad/trunk/src/librt/tcl.c

Modified: brlcad/trunk/src/librt/tcl.c
===================================================================
--- brlcad/trunk/src/librt/tcl.c        2008-12-09 18:02:00 UTC (rev 33330)
+++ brlcad/trunk/src/librt/tcl.c        2008-12-09 18:41:19 UTC (rev 33331)
@@ -950,11 +950,11 @@
        }
 
        if (comb->rgb_valid) {
-           bu_vls_printf(log, "rgb %d %d %d ", V3ARGS(comb->rgb));
+           bu_vls_printf(log, "rgb {%d %d %d} ", V3ARGS(comb->rgb));
        }
 
        if (bu_vls_strlen(&comb->shader) > 0) {
-           bu_vls_printf(log, "shader %s ", bu_vls_addr(&comb->shader));
+           bu_vls_printf(log, "shader {%s} ", bu_vls_addr(&comb->shader));
        }
 
        if (bu_vls_strlen(&comb->material) > 0) {


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

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to