[csharp] Fixed ShearYTimeline.Apply using bone.shearX instead of shearY.

This commit is contained in:
Harald Csaszar 2024-03-28 16:51:51 +01:00
parent 1a83e967b3
commit ccc2b5e644
2 changed files with 2 additions and 2 deletions

View File

@ -976,7 +976,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.shearY = GetRelativeValue(time, alpha, blend, bone.shearX, bone.data.shearY);
if (bone.active) bone.shearY = GetRelativeValue(time, alpha, blend, bone.shearY, bone.data.shearY);
}
}

View File

@ -2,7 +2,7 @@
"name": "com.esotericsoftware.spine.spine-csharp",
"displayName": "spine-csharp Runtime",
"description": "This plugin provides the spine-csharp core runtime.",
"version": "4.2.17",
"version": "4.2.18",
"unity": "2018.3",
"author": {
"name": "Esoteric Software",