interval: fix ActorInterval endFrame assignment when passing duration
Fixes: #187
This commit is contained in:
parent
c043755f94
commit
3f0ab1d198
|
|
@ -83,7 +83,7 @@ class ActorInterval(Interval.Interval):
|
|||
if startTime == None:
|
||||
startTime = float(self.startFrame) / float(self.frameRate)
|
||||
endTime = startTime + duration
|
||||
self.endFrame = duration * self.frameRate
|
||||
self.endFrame = endTime * self.frameRate
|
||||
else:
|
||||
# No end frame specified. Choose the maximum of all
|
||||
# of the controls' numbers of frames.
|
||||
|
|
|
|||
Loading…
Reference in New Issue