mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 15:24:55 +08:00
Fixed lastTime not being set.
This commit is contained in:
parent
45c3487098
commit
bc259b390e
@ -204,6 +204,7 @@ public class AnimationState {
|
||||
entry.animation = animation;
|
||||
entry.loop = loop;
|
||||
entry.time = 0;
|
||||
entry.lastTime = 0;
|
||||
entry.endTime = animation.getDuration();
|
||||
setCurrent(trackIndex, entry);
|
||||
return entry;
|
||||
@ -223,6 +224,7 @@ public class AnimationState {
|
||||
entry.animation = animation;
|
||||
entry.loop = loop;
|
||||
entry.time = 0;
|
||||
entry.lastTime = 0;
|
||||
entry.endTime = animation.getDuration();
|
||||
|
||||
TrackEntry last = expandToIndex(trackIndex);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user