mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[as3] Apply left over time additively to track time of delayed TrackEntry. See #1504.
This commit is contained in:
parent
9313d010ec
commit
b589284016
Binary file not shown.
@ -91,7 +91,7 @@ package spine.animation {
|
||||
var nextTime : Number = current.trackLast - next.delay;
|
||||
if (nextTime >= 0) {
|
||||
next.delay = 0;
|
||||
next.trackTime = current.timeScale == 0 ? 0 : (nextTime / current.timeScale + delta) * next.timeScale;
|
||||
next.trackTime += current.timeScale == 0 ? 0 : (nextTime / current.timeScale + delta) * next.timeScale;
|
||||
current.trackTime += currentDelta;
|
||||
setCurrent(i, next, true);
|
||||
while (next.mixingFrom != null) {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user