leak cleanup

This commit is contained in:
Joe Shochet 2006-05-07 22:04:01 +00:00
parent 4e8ef3f001
commit 25da5bd135
1 changed files with 5 additions and 0 deletions

View File

@ -123,6 +123,11 @@ class MotionTrail(NodePath, DirectObject):
MotionTrail.task_added = True
return
def delete(self):
del self.root_node_path
del self.parent_node_path
self.removeNode()
def print_matrix (self, matrix):
separator = ' '