Fixed showAllDescendants

This commit is contained in:
Mark Mine 2002-12-07 01:08:22 +00:00
parent 0c99328347
commit 4f8ebf4512
2 changed files with 2 additions and 3 deletions

View File

@ -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:

View File

@ -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()