mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[libgdx] Fixed scale timelines not combining key scale with setup pose.
This commit is contained in:
parent
8476b55fee
commit
21ebb2db4b
@ -614,6 +614,8 @@ public class Animation {
|
|||||||
x = getBezierValue(time, i, VALUE1, curveType - BEZIER);
|
x = getBezierValue(time, i, VALUE1, curveType - BEZIER);
|
||||||
y = getBezierValue(time, i, VALUE2, curveType + BEZIER_SIZE - BEZIER);
|
y = getBezierValue(time, i, VALUE2, curveType + BEZIER_SIZE - BEZIER);
|
||||||
}
|
}
|
||||||
|
x *= bone.data.scaleX;
|
||||||
|
y *= bone.data.scaleY;
|
||||||
|
|
||||||
if (alpha == 1) {
|
if (alpha == 1) {
|
||||||
if (blend == add) {
|
if (blend == add) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user