From 21ebb2db4b71c63fc6e9d17adc11ebf70239863f Mon Sep 17 00:00:00 2001 From: Nathan Sweet Date: Thu, 20 Aug 2020 14:08:53 -0700 Subject: [PATCH] [libgdx] Fixed scale timelines not combining key scale with setup pose. --- .../spine-libgdx/src/com/esotericsoftware/spine/Animation.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java index 8c3176c47..e4b186ec8 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Animation.java @@ -614,6 +614,8 @@ public class Animation { x = getBezierValue(time, i, VALUE1, curveType - BEZIER); y = getBezierValue(time, i, VALUE2, curveType + BEZIER_SIZE - BEZIER); } + x *= bone.data.scaleX; + y *= bone.data.scaleY; if (alpha == 1) { if (blend == add) {