mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
Updated line ending so Unity stops complaining.
This commit is contained in:
parent
11055a22e4
commit
07d92bfde4
@ -82,7 +82,8 @@ namespace Spine {
|
||||
|
||||
TrackEntry next = current.next;
|
||||
if (next != null) {
|
||||
if (time - trackDelta >= next.delay) SetCurrent(i, next);
|
||||
next.time = current.lastTime - next.delay;
|
||||
if (next.time >= 0) SetCurrent(i, next);
|
||||
} else {
|
||||
// End non-looping animation when it reaches its end time and there is no next entry.
|
||||
if (!current.loop && current.lastTime >= current.endTime) ClearTrack(i);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user