fix reverse interval

This commit is contained in:
David Rose 2003-08-21 16:17:42 +00:00
parent b2f8940f80
commit 25977a911d
1 changed files with 6 additions and 2 deletions

View File

@ -123,8 +123,12 @@ class ActorInterval(Interval.Interval):
# implicit. This is necessary only to guard against
# possible roundoff error in computing the final frame
# from the duration.
for control in self.controls:
control.pose(self.endFrame)
if self.reverse:
for control in self.controls:
control.pose(self.startFrame)
else:
for control in self.controls:
control.pose(self.endFrame)
else:
# Otherwise, the user-specified duration determines which