mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
Fixed showAllDescendants
This commit is contained in:
parent
0c99328347
commit
4f8ebf4512
@ -609,7 +609,7 @@ class DirectSession(PandaObject):
|
|||||||
def showAllDescendants(self, nodePath = render):
|
def showAllDescendants(self, nodePath = render):
|
||||||
""" Show the level and its descendants """
|
""" Show the level and its descendants """
|
||||||
nodePath.showAllDescendants()
|
nodePath.showAllDescendants()
|
||||||
nodePath.hideCollisionSolids()
|
nodePath.hideCS()
|
||||||
|
|
||||||
def upAncestry(self):
|
def upAncestry(self):
|
||||||
if self.ancestry:
|
if self.ancestry:
|
||||||
|
@ -72,8 +72,7 @@
|
|||||||
|
|
||||||
def showAllDescendants(self):
|
def showAllDescendants(self):
|
||||||
"""Show the node path and all its children"""
|
"""Show the node path and all its children"""
|
||||||
if self.hasArcs():
|
self.show()
|
||||||
self.show()
|
|
||||||
for child in self.getChildrenAsList():
|
for child in self.getChildrenAsList():
|
||||||
child.showAllDescendants()
|
child.showAllDescendants()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user