Revision: 55004
          http://brlcad.svn.sourceforge.net/brlcad/?rev=55004&view=rev
Author:   n_reed
Date:     2013-04-02 15:31:56 +0000 (Tue, 02 Apr 2013)
Log Message:
-----------
need to skip solids that are already drawn

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

Modified: brlcad/trunk/src/libged/draw.c
===================================================================
--- brlcad/trunk/src/libged/draw.c      2013-04-02 13:06:29 UTC (rev 55003)
+++ brlcad/trunk/src/libged/draw.c      2013-04-02 15:31:56 UTC (rev 55004)
@@ -1316,6 +1316,10 @@
                    }
 
                    for (BU_LIST_FOR(sp, solid, &gdlp->gdl_headSolid)) {
+                       if (sp->s_vlen > 0) {
+                           /* solid is already drawn */
+                           continue;
+                       }
                        ret = redraw_solid(gedp, sp);
                        if (ret < 0) {
                            bu_vls_printf(gedp->ged_result_str,

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


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to