mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[libgdx] Fixed mixing out inherit timelines to the setup pose.
This commit is contained in:
parent
195c65ffd9
commit
bc15c4566e
@ -980,6 +980,11 @@ public class Animation {
|
||||
Bone bone = skeleton.bones.get(boneIndex);
|
||||
if (!bone.active) return;
|
||||
|
||||
if (direction == out) {
|
||||
if (blend == setup) bone.inherit = bone.data.inherit;
|
||||
return;
|
||||
}
|
||||
|
||||
float[] frames = this.frames;
|
||||
if (time < frames[0]) {
|
||||
if (blend == setup || blend == first) bone.inherit = bone.data.inherit;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user