fix fixBounds()

This commit is contained in:
David Rose 2006-10-07 16:27:50 +00:00
parent 5972918101
commit 96571d412f
1 changed files with 2 additions and 2 deletions

View File

@ -1052,10 +1052,10 @@ class Actor(DirectObject, NodePath):
numGeoms = thisGeomNode.node().getNumGeoms()
for geomNum in range(0, numGeoms):
thisGeom = thisGeomNode.node().getGeom(geomNum)
thisGeom.markBoundStale()
thisGeom.markBoundsStale()
assert Actor.notify.debug("fixing bounds for node %s, geom %s" % \
(nodeNum, geomNum))
thisGeomNode.node().markBoundStale()
thisGeomNode.node().markInternalBoundsStale()
def showAllBounds(self):
"""