Revision: 55006
          http://brlcad.svn.sourceforge.net/brlcad/?rev=55006&view=rev
Author:   n_reed
Date:     2013-04-02 15:54:32 +0000 (Tue, 02 Apr 2013)
Log Message:
-----------
first initialize solid s_vlen, then we can test it to skip previously draw 
solids

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

Modified: brlcad/trunk/src/libged/draw.c
===================================================================
--- brlcad/trunk/src/libged/draw.c      2013-04-02 15:42:55 UTC (rev 55005)
+++ brlcad/trunk/src/libged/draw.c      2013-04-02 15:54:32 UTC (rev 55006)
@@ -491,6 +491,7 @@
        }
     }
 
+    sp->s_vlen = 0;
     db_dup_full_path(&sp->s_fullpath, pathp);
     sp->s_flag = DOWN;
     sp->s_iflag = DOWN;
@@ -1316,6 +1317,10 @@
                    }
 
                    for (BU_LIST_FOR(sp, solid, &gdlp->gdl_headSolid)) {
+                       if (sp->s_vlen > 0) {
+                           /* skip previously draw solid */
+                           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