Skip to content

Commit

Permalink
[haxe] Port of commit 9d49999: Changed SequenceTimeline to match Atta…
Browse files Browse the repository at this point in the history
…chmentTimeline behavior.
  • Loading branch information
davidetan committed Nov 15, 2024
1 parent f64b20d commit 7a028bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spine-haxe/spine-haxe/spine/animation/SequenceTimeline.hx
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ class SequenceTimeline extends Timeline implements SlotTimeline {
return;
}

if (direction == MixDirection.mixOut) {
if (blend == MixBlend.setup) slot.sequenceIndex = -1;
return;
}

if (time < frames[0]) {
if (blend == MixBlend.setup || blend == MixBlend.first)
slot.sequenceIndex = -1;
Expand Down

0 comments on commit 7a028bf

Please sign in to comment.