From 16d0953cd37e29dac818955b4e3fd4c7303389be Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 15 Jun 2001 17:27:41 +0000 Subject: [PATCH] rename showBounds --- direct/src/actor/Actor.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/direct/src/actor/Actor.py b/direct/src/actor/Actor.py index feadc25532..2bafa476be 100644 --- a/direct/src/actor/Actor.py +++ b/direct/src/actor/Actor.py @@ -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):