Revision: 40662
          http://brlcad.svn.sourceforge.net/brlcad/?rev=40662&view=rev
Author:   bob1961
Date:     2010-09-23 15:04:05 +0000 (Thu, 23 Sep 2010)

Log Message:
-----------
Modified libtclcad's go_faceplate routine. Should be getting/setting text_color 
instead of line_color.

Modified Paths:
--------------
    brlcad/trunk/src/libtclcad/ged_obj.c

Modified: brlcad/trunk/src/libtclcad/ged_obj.c
===================================================================
--- brlcad/trunk/src/libtclcad/ged_obj.c        2010-09-23 14:29:30 UTC (rev 
40661)
+++ brlcad/trunk/src/libtclcad/ged_obj.c        2010-09-23 15:04:05 UTC (rev 
40662)
@@ -3854,7 +3854,7 @@
 
        if (strcmp(argv[3], "color") == 0) {
            if (argc == 4) {
-               bu_vls_printf(&gedp->ged_result_str, "%d %d %d", 
V3ARGS(gdvp->gdv_view->gv_prim_labels.gos_line_color));
+               bu_vls_printf(&gedp->ged_result_str, "%d %d %d", 
V3ARGS(gdvp->gdv_view->gv_prim_labels.gos_text_color));
                return BRLCAD_OK;
            } else if (argc == 7) {
                int r, g, b;
@@ -3864,7 +3864,7 @@
                    sscanf(argv[6], "%d", &b) != 1)
                    goto bad;
 
-               VSET(gdvp->gdv_view->gv_prim_labels.gos_line_color, r, g, b);
+               VSET(gdvp->gdv_view->gv_prim_labels.gos_text_color, r, g, b);
                go_refresh_view(gdvp);
                return BRLCAD_OK;
            }


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

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to