mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-02 05:39:07 +08:00
[as3] Port fix to AnimationState, see #1092
This commit is contained in:
parent
90554dff04
commit
4981aa69b9
Binary file not shown.
@ -478,9 +478,9 @@ package spine.animation {
|
|||||||
if (last.loop)
|
if (last.loop)
|
||||||
delay += duration * (1 + (int)(last.trackTime / duration));
|
delay += duration * (1 + (int)(last.trackTime / duration));
|
||||||
else
|
else
|
||||||
delay += duration;
|
delay += Math.max(duration, last.trackTime);
|
||||||
} else
|
} else
|
||||||
delay = 0;
|
delay = last.trackTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user