rename showBounds

This commit is contained in:
David Rose 2001-06-15 17:27:41 +00:00
parent feebd57503
commit 16d0953cd3
1 changed files with 6 additions and 6 deletions

View File

@ -799,19 +799,19 @@ class Actor(PandaObject, NodePath):
(nodeNum, geomNum))
thisGeomNode.node().markBoundStale()
def showBounds(self):
"""showBounds(self)
def showAllBounds(self):
"""showAllBounds(self)
Show the bounds of all actor geoms"""
geomNodes = self.findAllMatches("**/+GeomNode")
geomNodes = self.__geomNode.findAllMatches("**/+GeomNode")
numGeomNodes = geomNodes.getNumPaths()
for nodeNum in range(0, numGeomNodes):
geomNodes.getPath(nodeNum).showBounds()
def hideBounds(self):
"""hideBounds(self)
def hideAllBounds(self):
"""hideAllBounds(self)
Hide the bounds of all actor geoms"""
geomNodes = self.findAllMatches("**/+GeomNode")
geomNodes = self.__geomNode.findAllMatches("**/+GeomNode")
numGeomNodes = geomNodes.getNumPaths()
for nodeNum in range(0, numGeomNodes):