mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fixed a bug in show panda object feature
This commit is contained in:
parent
3da573803f
commit
2ff1f376fa
@ -65,6 +65,9 @@ class SceneGraphUIBase(wx.Panel):
|
||||
itemId = self.tree.GetItemPyData(parent)
|
||||
i = 0
|
||||
for child in objNodePath.getChildren():
|
||||
if child.hasTag('OBJRoot'):
|
||||
# since they are already shown in scene graph tree
|
||||
continue
|
||||
namestr = "%s.%s"%(child.node().getType(), child.node().getName())
|
||||
newItem = self.tree.PrependItem(parent, namestr)
|
||||
newItemId = "%s.%s"%(itemId, i)
|
||||
|
Loading…
x
Reference in New Issue
Block a user