mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[libgdx] Changed SequenceTimeline to match AttachmentTimeline behavior.
This commit is contained in:
parent
02deca1cba
commit
9d49999e2b
@ -2622,6 +2622,11 @@ public class Animation {
|
|||||||
Sequence sequence = ((HasTextureRegion)slotAttachment).getSequence();
|
Sequence sequence = ((HasTextureRegion)slotAttachment).getSequence();
|
||||||
if (sequence == null) return;
|
if (sequence == null) return;
|
||||||
|
|
||||||
|
if (direction == out) {
|
||||||
|
if (blend == setup) slot.setSequenceIndex(-1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
float[] frames = this.frames;
|
float[] frames = this.frames;
|
||||||
if (time < frames[0]) {
|
if (time < frames[0]) {
|
||||||
if (blend == setup || blend == first) slot.setSequenceIndex(-1);
|
if (blend == setup || blend == first) slot.setSequenceIndex(-1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user