mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[libgdx] Fixed local transform being computed from an invalid world transform.
This commit is contained in:
parent
3494954039
commit
b3ed2ff16b
@ -243,6 +243,7 @@ public class BonePose extends BoneLocal implements Update {
|
|||||||
BonePose child = children[i].applied;
|
BonePose child = children[i].applied;
|
||||||
if (child.world == update) {
|
if (child.world == update) {
|
||||||
child.world = 0;
|
child.world = 0;
|
||||||
|
child.local = 0;
|
||||||
child.resetWorld(update);
|
child.resetWorld(update);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user