[unity] Fixed wond IKConstraint timeline bend-direction with skeleton binary. Closes #2448.

This commit is contained in:
Harald Csaszar 2024-01-12 19:10:38 +01:00
parent 11e6428586
commit cb33b34a4a
2 changed files with 2 additions and 2 deletions

View File

@ -872,7 +872,7 @@ namespace Spine {
float time = input.ReadFloat(), mix = input.ReadFloat(), softness = input.ReadFloat() * scale;
for (int frame = 0, bezier = 0; ; frame++) {
int flags = input.Read();
timeline.SetFrame(frame, time, mix, softness, input.ReadByte(), (flags & 1) != 0, (flags & 2) != 0);
timeline.SetFrame(frame, time, mix, softness, input.ReadSByte(), (flags & 1) != 0, (flags & 2) != 0);
if (frame == frameLast) break;
float time2 = input.ReadFloat(), mix2 = input.ReadFloat(), softness2 = input.ReadFloat() * scale;
switch (input.ReadByte()) {

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.7",
"version": "4.2.8",
"unity": "2018.3",
"author": {
"name": "Esoteric Software",