mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[as3] Port of additive blending fix, see #1322.
This commit is contained in:
parent
0e0ed6ef3a
commit
00515250bf
Binary file not shown.
@ -176,7 +176,7 @@ package spine.animation {
|
||||
var timelineCount : int = current.animation.timelines.length;
|
||||
var timelines : Vector.<Timeline> = current.animation.timelines;
|
||||
var ii : int = 0;
|
||||
if (i == 0 && (mix == 1 || blend == MixBlend.add)) {
|
||||
if ((i == 0 && mix == 1) || blend == MixBlend.add) {
|
||||
for (ii = 0; ii < timelineCount; ii++)
|
||||
Timeline(timelines[ii]).apply(skeleton, animationLast, animationTime, events, mix, blend, MixDirection.In);
|
||||
} else {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user