Revision: 78135
http://sourceforge.net/p/brlcad/code/78135
Author: starseeker
Date: 2021-01-27 18:25:39 +0000 (Wed, 27 Jan 2021)
Log Message:
-----------
still got a problem somewhere in the walking
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 17:53:28 UTC (rev
78134)
+++ brlcad/trunk/src/libged/npush/npush.cpp 2021-01-27 18:25:39 UTC (rev
78135)
@@ -549,7 +549,10 @@
dpii = s->instances.find(ldpi);
if (dpii == s->instances.end()) {
bu_log("Error - no instance found: %s->%s!\n",
parent_dpi.dp->d_namep, dp->d_namep);
- bn_mat_print(tp->tr_l.tl_name, *curr_mat);
+ dpii = s->instances.find(ldpi);
+ bn_mat_print("curr_mat", *curr_mat);
+ if (dpii->apply_to_solid)
+ bu_log("apply_to_solid set\n");
for (i_it = s->instances.begin(); i_it != s->instances.end();
i_it++) {
const dp_i &ddpi = *i_it;
if (ddpi.dp == dp) {
@@ -556,6 +559,8 @@
bn_mat_print(tp->tr_l.tl_name, ddpi.mat);
if (ddpi.iname.length())
bu_log("iname: %s\n", ddpi.iname.c_str());
+ if (ddpi.apply_to_solid)
+ bu_log("apply_to_solid set\n");
}
}
return;
@@ -644,6 +649,9 @@
bu_log("comb walk: %s\n", dpi.dp->d_namep);
}
+ // TODO - sph_014 test is exposing a problem - looks like there is
still a difference
+ // in the push and write walks?
+
/* Read only copy of comb tree - use for steering the walk */
struct rt_db_internal intern;
struct rt_comb_internal *comb;
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