mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +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);
|
Bone bone = skeleton.bones.get(boneIndex);
|
||||||
if (!bone.active) return;
|
if (!bone.active) return;
|
||||||
|
|
||||||
|
if (direction == out) {
|
||||||
|
if (blend == setup) bone.inherit = bone.data.inherit;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
float[] frames = this.frames;
|
float[] frames = this.frames;
|
||||||
if (time < frames[0]) {
|
if (time < frames[0]) {
|
||||||
if (blend == setup || blend == first) bone.inherit = bone.data.inherit;
|
if (blend == setup || blend == first) bone.inherit = bone.data.inherit;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user