From ee3adf5723803e69576ca5965736081d4d9e3e8f Mon Sep 17 00:00:00 2001 From: Chris Brunner Date: Fri, 27 Jan 2012 03:02:50 +0000 Subject: [PATCH] Fix a bug where privReverseInstant would reset to the last state of an interval and not the start state --- direct/src/interval/Interval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/direct/src/interval/Interval.py b/direct/src/interval/Interval.py index 6b2cbf9b8f..0907c6d6a0 100644 --- a/direct/src/interval/Interval.py +++ b/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):