mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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;
|
float alpha;
|
||||||
switch (timelineMode[i] & NOT_LAST - 1) {
|
switch (timelineMode[i] & NOT_LAST - 1) {
|
||||||
case SUBSEQUENT:
|
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;
|
if (!drawOrder && timeline instanceof DrawOrderTimeline) continue;
|
||||||
timelineBlend = blend;
|
timelineBlend = blend;
|
||||||
alpha = alphaMix;
|
alpha = alphaMix;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user