mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 01:06:00 +08:00
[csharp] Port: Fixed mixing out inherit timelines to the setup pose. See #2590, see commit bc15c45.
This commit is contained in:
parent
c6775728b7
commit
3f43ff5a5a
@ -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;
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user