mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Fix a bug where privReverseInstant would reset to the last state of an interval and not the start state
This commit is contained in:
parent
75f4a86aba
commit
ee3adf5723
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user