[as3] Port of additive blending fix, see #1322.

This commit is contained in:
badlogic 2019-04-04 14:41:49 +02:00
parent 0e0ed6ef3a
commit 00515250bf
4 changed files with 1 additions and 1 deletions

View File

@ -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 {