Browse Source

Fix a bug where privReverseInstant would reset to the last state of an interval and not the start state

Chris Brunner 14 years ago
parent
commit
ee3adf5723
1 changed files with 1 additions and 1 deletions
  1. 1 1
      direct/src/interval/Interval.py

+ 1 - 1
direct/src/interval/Interval.py

@@ -250,7 +250,7 @@ class Interval(DirectObject):
     def privReverseInstant(self):
     def privReverseInstant(self):
         # Subclasses may redefine this function
         # Subclasses may redefine this function
         self.state = CInterval.SStarted
         self.state = CInterval.SStarted
-        self.privStep(self.getDuration())
+        self.privStep(0)
         self.state = CInterval.SInitial
         self.state = CInterval.SInitial
 
 
     def privReverseFinalize(self):
     def privReverseFinalize(self):