mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
Fix for #1352. The last subsequent attachment timeline always mixes out to the setup pose.
This commit is contained in:
parent
26e3f928f7
commit
603c9e2366
@ -293,7 +293,10 @@ public class AnimationState {
|
||||
float alpha;
|
||||
switch (timelineMode[i] & NOT_LAST - 1) {
|
||||
case SUBSEQUENT:
|
||||
if (!attachments && timeline instanceof AttachmentTimeline) continue;
|
||||
if (!attachments && timeline instanceof AttachmentTimeline) {
|
||||
if ((timelineMode[i] & NOT_LAST) == NOT_LAST) continue;
|
||||
blend = MixBlend.setup;
|
||||
}
|
||||
if (!drawOrder && timeline instanceof DrawOrderTimeline) continue;
|
||||
timelineBlend = blend;
|
||||
alpha = alphaMix;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user