fixed TT shadowTraverser crash

This commit is contained in:
Darren Ranalli 2009-12-08 00:11:20 +00:00
parent e90652e89e
commit 166f966441

View File

@ -122,10 +122,10 @@ class ShadowPlacer(DirectObject.DirectObject):
assert self.cTrav.hasCollider(self.cRayNodePath)
didIt = self.cTrav.removeCollider(self.cRayNodePath)
assert didIt
self.cRayNodePath.detachNode()
# Now that we have disabled collisions, make one more pass
# right now to ensure we aren't standing in a wall.
self.oneTimeCollide()
self.cRayNodePath.detachNode()
self.isActive = 0
if __debug__:
self.activeCount -= 1