Browse Source

Add attach command.

aignacio_sf 19 years ago
parent
commit
ab6492b17d
1 changed files with 4 additions and 0 deletions
  1. 4 0
      direct/src/motiontrail/MotionTrail.py

+ 4 - 0
direct/src/motiontrail/MotionTrail.py

@@ -549,6 +549,10 @@ class MotionTrail(NodePath):
             self.geom_node.removeAllGeoms ( )         
         return
 
+    def attach_motion_trail (self):
+        self.reset_motion_trail ( )
+        return
+
     def begin_motion_trail (self):
         if (self.continuous_motion_trail == False):
             self.reset_motion_trail ( )