mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[as3] Fix for #1352, the last subsequent attachment timeline always mixes out to the setup pose.
This commit is contained in:
parent
6341fbbd9d
commit
6d8baa17fd
Binary file not shown.
@ -246,8 +246,11 @@ package spine.animation {
|
||||
var timelineBlend: MixBlend;
|
||||
var alpha : Number = 0;
|
||||
switch (timelineMode[i] & (NOT_LAST - 1)) {
|
||||
case SUBSEQUENT:
|
||||
if (!attachments && timeline is AttachmentTimeline) continue;
|
||||
case SUBSEQUENT:
|
||||
if (!attachments && timeline is AttachmentTimeline) {
|
||||
if ((timelineMode[i] & NOT_LAST) == NOT_LAST) continue;
|
||||
blend = MixBlend.setup;
|
||||
}
|
||||
if (!drawOrder && timeline is DrawOrderTimeline) continue;
|
||||
timelineBlend = blend;
|
||||
alpha = alphaMix;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user