cleanup actors better

This commit is contained in:
David Rose 2001-06-07 21:09:30 +00:00
parent e4622d5696
commit 6cd564a95c
1 changed files with 3 additions and 2 deletions

View File

@ -254,10 +254,11 @@ class Actor(PandaObject, NodePath):
Actor cleanup function
"""
self.stop()
del(self.__partBundleDict)
self.__partBundleDict = None
del(self.__animControlDict)
self.__animControlDict = None
self.__geomNode = None
self.__LODNode = None
self.__hasLOD = 0
if not self.isEmpty():
self.removeNode()