Fixed showAllDescendants
This commit is contained in:
parent
0c99328347
commit
4f8ebf4512
|
|
@ -609,7 +609,7 @@ class DirectSession(PandaObject):
|
|||
def showAllDescendants(self, nodePath = render):
|
||||
""" Show the level and its descendants """
|
||||
nodePath.showAllDescendants()
|
||||
nodePath.hideCollisionSolids()
|
||||
nodePath.hideCS()
|
||||
|
||||
def upAncestry(self):
|
||||
if self.ancestry:
|
||||
|
|
|
|||
|
|
@ -72,8 +72,7 @@
|
|||
|
||||
def showAllDescendants(self):
|
||||
"""Show the node path and all its children"""
|
||||
if self.hasArcs():
|
||||
self.show()
|
||||
self.show()
|
||||
for child in self.getChildrenAsList():
|
||||
child.showAllDescendants()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue