mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Draw order timeline.
This commit is contained in:
parent
4c2d2b0c0a
commit
285aead074
@ -828,6 +828,11 @@ public class Animation {
|
||||
|
||||
public void apply (Skeleton skeleton, float lastTime, float time, Array<Event> firedEvents, float alpha, boolean setupPose,
|
||||
boolean mixingOut) {
|
||||
if (mixingOut && setupPose) {
|
||||
System.arraycopy(skeleton.slots.items, 0, skeleton.drawOrder.items, 0, skeleton.slots.size);
|
||||
return;
|
||||
}
|
||||
|
||||
float[] frames = this.frames;
|
||||
if (time < frames[0]) return; // Time is before first frame.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user