From e92c463fad2fc839cb7da919044c3ca4c359c4d5 Mon Sep 17 00:00:00 2001 From: badlogic Date: Mon, 18 Jul 2016 14:10:45 +0200 Subject: [PATCH] [as3] Fixes half of #640, color assignment in ColorTimeline was wrong. --- spine-as3/spine-as3/src/spine/animation/ColorTimeline.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-as3/spine-as3/src/spine/animation/ColorTimeline.as b/spine-as3/spine-as3/src/spine/animation/ColorTimeline.as index b6b6848cd..bcc182917 100644 --- a/spine-as3/spine-as3/src/spine/animation/ColorTimeline.as +++ b/spine-as3/spine-as3/src/spine/animation/ColorTimeline.as @@ -75,7 +75,7 @@ public class ColorTimeline extends CurveTimeline { r = frames[int(frame + PREV_R)]; g = frames[int(frame + PREV_G)]; b = frames[int(frame + PREV_B)]; - b = frames[int(frame + PREV_A)]; + a = frames[int(frame + PREV_A)]; var frameTime:Number = frames[frame]; var percent:Number = getCurvePercent(frame / ENTRIES - 1, 1 - (time - frameTime) / (frames[frame + PREV_TIME] - frameTime));