[csharp] Port of commit f656d98. Fixed ScaleYTimeline.

This commit is contained in:
Harald Csaszar 2024-01-08 20:30:41 +01:00
parent 8c79c7c1de
commit 4bcd3496bc

View File

@ -856,7 +856,7 @@ namespace Spine {
override public void Apply (Skeleton skeleton, float lastTime, float time, ExposedList<Event> 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);
}
}