[csharp] Port: Fixed mixing out inherit timelines to the setup pose. See #2590, see commit bc15c45.

This commit is contained in:
Harald Csaszar 2024-08-05 16:41:02 +02:00
parent c6775728b7
commit 3f43ff5a5a
2 changed files with 6 additions and 1 deletions

View File

@ -1018,6 +1018,11 @@ namespace Spine {
Bone bone = skeleton.bones.Items[boneIndex];
if (!bone.active) return;
if (direction == MixDirection.Out) {
if (blend == MixBlend.Setup) bone.inherit = bone.data.inherit;
return;
}
float[] frames = this.frames;
if (time < frames[0]) {
if (blend == MixBlend.Setup || blend == MixBlend.First) bone.inherit = bone.data.inherit;

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