mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[c] Fix for #1352, the last subsequent attachment timeline always mixes out to the setup pose.
This commit is contained in:
parent
e87610277a
commit
d95bc83e07
@ -468,7 +468,10 @@ float _spAnimationState_applyMixingFrom (spAnimationState* self, spTrackEntry* t
|
|||||||
|
|
||||||
switch (timelineMode->items[i] & (NOT_LAST - 1)) {
|
switch (timelineMode->items[i] & (NOT_LAST - 1)) {
|
||||||
case SUBSEQUENT:
|
case SUBSEQUENT:
|
||||||
if (!attachments && timeline->type == SP_TIMELINE_ATTACHMENT) continue;
|
if (!attachments && timeline->type == SP_TIMELINE_ATTACHMENT) {
|
||||||
|
if ((timelineMode->items[i] & NOT_LAST) == NOT_LAST) continue;
|
||||||
|
blend = SP_MIX_BLEND_SETUP;
|
||||||
|
}
|
||||||
if (!drawOrder && timeline->type == SP_TIMELINE_DRAWORDER) continue;
|
if (!drawOrder && timeline->type == SP_TIMELINE_DRAWORDER) continue;
|
||||||
timelineBlend = blend;
|
timelineBlend = blend;
|
||||||
alpha = alphaMix;
|
alpha = alphaMix;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user