From 8a712d1d2d4a38e48af485713381bc43501ec931 Mon Sep 17 00:00:00 2001 From: Jason Yeung Date: Sat, 1 Jul 2006 01:12:23 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/motiontrail/MotionTrail.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/direct/src/motiontrail/MotionTrail.py b/direct/src/motiontrail/MotionTrail.py index a5346c8334..189aacc0db 100644 --- a/direct/src/motiontrail/MotionTrail.py +++ b/direct/src/motiontrail/MotionTrail.py @@ -125,8 +125,8 @@ class MotionTrail(NodePath, DirectObject): return def delete(self): - del self.root_node_path - del self.parent_node_path + self.root_node_path = None + self.parent_node_path = None self.removeNode() def print_matrix (self, matrix): @@ -146,12 +146,12 @@ class MotionTrail(NodePath, DirectObject): while (index < total_motion_trails): motion_trail = MotionTrail.motion_trail_list [index] if (motion_trail.active and motion_trail.check_for_update (current_time)): - + transform = None - - if (motion_trail.root_node_path != None): + + if (motion_trail.root_node_path != None) and (motion_trail.root_node_path != render): motion_trail.root_node_path.update ( ) - + """ transform = motion_trail.getNetTransform ( ).getMat ( ) print "net matrix", transform.__repr__ ( )