fix for actor cleanup

This commit is contained in:
Zachary Pavlov 2006-11-18 03:20:28 +00:00
parent cdefc2dfb0
commit 42139d449e
1 changed files with 1 additions and 0 deletions

View File

@ -441,6 +441,7 @@ class Actor(DirectObject, NodePath):
self.stop(None)
self.flush()
self.__geomNode.removeNode()
self.__geomNode=None
if not self.isEmpty():
self.removeNode()