浏览代码

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

Chris Brunner 14 年之前
父节点
当前提交
ee3adf5723
共有 1 个文件被更改,包括 1 次插入1 次删除
  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):
         # Subclasses may redefine this function
         self.state = CInterval.SStarted
-        self.privStep(self.getDuration())
+        self.privStep(0)
         self.state = CInterval.SInitial
 
     def privReverseFinalize(self):