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

This commit is contained in:
Chris Brunner 2012-01-27 03:02:50 +00:00
parent 75f4a86aba
commit ee3adf5723

View File

@ -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):