mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-16 12:01:41 +08:00
[cpp] Fix for #1352, the last subsequent attachment timeline always mixes out to the setup pose.
This commit is contained in:
parent
d95bc83e07
commit
7904bfd40f
@ -814,7 +814,10 @@ float AnimationState::applyMixingFrom(TrackEntry *to, Skeleton &skeleton, MixBle
|
||||
float alpha;
|
||||
switch (timelineMode[i] & (NotLast - 1)) {
|
||||
case Subsequent:
|
||||
if (!attachments && (timeline->getRTTI().isExactly(AttachmentTimeline::rtti))) continue;
|
||||
if (!attachments && (timeline->getRTTI().isExactly(AttachmentTimeline::rtti))) {
|
||||
if ((timelineMode[i] & NotLast) == NotLast) continue;
|
||||
blend = MixBlend_Setup;
|
||||
}
|
||||
if (!drawOrder && (timeline->getRTTI().isExactly(DrawOrderTimeline::rtti))) continue;
|
||||
timelineBlend = blend;
|
||||
alpha = alphaMix;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user