hiding collision spheres

This commit is contained in:
Josh Wilson 2007-04-09 18:47:36 +00:00
parent 9dad81603f
commit 3bd78f3bf4

View File

@ -141,7 +141,7 @@ class DistancePhasedNode(PhasedObject, DirectObject, NodePath):
cSphereNode.addSolid(cSphere) cSphereNode.addSolid(cSphere)
cSphereNodePath = self.attachNewNode(cSphereNode) cSphereNodePath = self.attachNewNode(cSphereNode)
cSphereNodePath.stash() cSphereNodePath.stash()
cSphereNodePath.show() # cSphereNodePath.show() # For debugging
self._colSpheres.append(cSphereNodePath) self._colSpheres.append(cSphereNodePath)
self.__enableCollisions(-1) self.__enableCollisions(-1)