Revision: 78132
          http://sourceforge.net/p/brlcad/code/78132
Author:   starseeker
Date:     2021-01-27 03:02:06 +0000 (Wed, 27 Jan 2021)
Log Message:
-----------
Closer - object names in tree look more reasonable.

Modified Paths:
--------------
    brlcad/trunk/src/libged/npush/npush.cpp

Modified: brlcad/trunk/src/libged/npush/npush.cpp
===================================================================
--- brlcad/trunk/src/libged/npush/npush.cpp     2021-01-27 02:44:20 UTC (rev 
78131)
+++ brlcad/trunk/src/libged/npush/npush.cpp     2021-01-27 03:02:06 UTC (rev 
78132)
@@ -178,7 +178,6 @@
     struct rt_wdb *wdbp;
 
     /* Processing info */
-    std::set<size_t> processed;
     std::map<struct directory *, struct rt_db_internal *> updated;
 
     /* Debugging related data and variables */
@@ -630,15 +629,6 @@
     struct directory *dp;
     struct push_state *s = (struct push_state *)client_data;
 
-    // If we have already seen this specific instance, don't
-    // process again
-    if (s->processed.find(dpi.ind) != s->processed.end())
-       return;
-
-    // We will now be processing - set flag
-    s->processed.insert(dpi.ind);
-
-
     if (dpi.dp->d_flags & RT_DIR_COMB) {
 
        if (dpi.iname.length()) {
@@ -698,6 +688,7 @@
        s->updated[dp] = in;
 
     } else {
+
        // If we're not copying the solid and not applying a matrix, we're done
        if (!dpi.iname.length() && !bn_mat_is_identity(dpi.mat))
            return;
@@ -760,6 +751,7 @@
        }
 
        rt_db_free_internal(&intern);
+
     }
 }
 

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



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to