Browse Source

"using modifySolid instead of getSolid"

Josh Wilson 18 years ago
parent
commit
f695365e9a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      direct/src/showbase/DistancePhasedNode.py

+ 2 - 2
direct/src/showbase/DistancePhasedNode.py

@@ -307,11 +307,11 @@ class BufferedDistancePhasedNode(DistancePhasedNode):
 
     def __adjustCollisions(self, phase):
         for x,sphere in enumerate(self._colSpheres[:phase+1]):
-            sphere.node().getSolid(0).setRadius(self.bufferParamList[x][1][1])
+            sphere.node().modifySolid(0).setRadius(self.bufferParamList[x][1][1])
             sphere.node().markInternalBoundsStale()
 
         for x,sphere in enumerate(self._colSpheres[phase+1:]):
-            sphere.node().getSolid(0).setRadius(self.bufferParamList[x+phase+1][1][0])
+            sphere.node().modifySolid(0).setRadius(self.bufferParamList[x+phase+1][1][0])
             sphere.node().markInternalBoundsStale()