瀏覽代碼

fix fixBounds()

David Rose 19 年之前
父節點
當前提交
96571d412f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      direct/src/actor/Actor.py

+ 2 - 2
direct/src/actor/Actor.py

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