Revision: 55553
          http://sourceforge.net/p/brlcad/code/55553
Author:   indianlarry
Date:     2013-05-23 15:22:16 +0000 (Thu, 23 May 2013)
Log Message:
-----------
For the 'idents' command skip over non-union combinations above the region 
level, these members of a combination don't add positively to the defined 
regions of space and their region ID's will not show up along a shotline unless 
positively added elsewhere in the hierarchy. This is causing headaches for 
users generating an association table from our 'idents' listing.

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

Modified: brlcad/trunk/src/libged/tables.c
===================================================================
--- brlcad/trunk/src/libged/tables.c    2013-05-23 12:18:51 UTC (rev 55552)
+++ brlcad/trunk/src/libged/tables.c    2013-05-23 15:22:16 UTC (rev 55553)
@@ -264,6 +264,26 @@
            struct directory *nextdp;
            mat_t new_mat;
 
+           /* For the 'idents' command skip over non-union combinations above 
the region level,
+            * these members of a combination don't add positively to the 
defined regions of space
+            * and their region ID's will not show up along a shotline unless 
positively added
+            * elsewhere in the hierarchy. This is causing headaches for users 
generating an
+            * association table from our 'idents' listing.
+            */
+           if (flag == ID_TABLE) {
+               switch (tree_list[i].tl_op) {
+                   case OP_UNION:
+                       break;
+                   case OP_SUBTRACT:
+                   case OP_INTERSECT:
+                       continue;
+                       break;
+                   default:
+                       bu_log("unrecognized operation in combination %s\n", 
dp->d_namep);
+                       break;
+               }
+           }
+
            nextdp = db_lookup(gedp->ged_wdbp->dbip, 
tree_list[i].tl_tree->tr_l.tl_name, LOOKUP_NOISY);
            if (nextdp == RT_DIR_NULL) {
                bu_vls_printf(gedp->ged_result_str, "\tskipping this object\n");

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


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to