Revision: 77177
http://sourceforge.net/p/brlcad/code/77177
Author: starseeker
Date: 2020-09-19 01:02:12 +0000 (Sat, 19 Sep 2020)
Log Message:
-----------
We're getting multiple populations of the tree children. Probably means we
need to revisit the whole cadtreemodel design, but for now just don't populate
if we've already done so.
Modified Paths:
--------------
brlcad/trunk/src/qged/cadtreemodel.cpp
Modified: brlcad/trunk/src/qged/cadtreemodel.cpp
===================================================================
--- brlcad/trunk/src/qged/cadtreemodel.cpp 2020-09-18 23:57:38 UTC (rev
77176)
+++ brlcad/trunk/src/qged/cadtreemodel.cpp 2020-09-19 01:02:12 UTC (rev
77177)
@@ -718,6 +718,9 @@
{
CADTreeNode *curr_node = IndexNode(idx);
if (curr_node == m_root) return false;
+ if (rowCount(idx)) {
+ return false;
+ }
if (curr_node->node_dp->d_flags & RT_DIR_COMB) {
return true;
}
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