From 4bcd3496bc609bde49fdb344263060d029aca79a Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Mon, 8 Jan 2024 20:30:41 +0100 Subject: [PATCH] [csharp] Port of commit f656d98. Fixed ScaleYTimeline. --- spine-csharp/src/Animation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-csharp/src/Animation.cs b/spine-csharp/src/Animation.cs index 7642be9f5..1af9614e4 100644 --- a/spine-csharp/src/Animation.cs +++ b/spine-csharp/src/Animation.cs @@ -856,7 +856,7 @@ namespace Spine { override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList firedEvents, float alpha, MixBlend blend, MixDirection direction) { Bone bone = skeleton.bones.Items[boneIndex]; - if (bone.active) bone.scaleY = GetScaleValue(time, alpha, blend, direction, bone.scaleX, bone.data.scaleY); + if (bone.active) bone.scaleY = GetScaleValue(time, alpha, blend, direction, bone.scaleY, bone.data.scaleY); } }