fix skeleton (ik) not resetting global_bone_overrides properly
fix skeleton (ik) not resetting global_bone_overrides properly
This commit is contained in:
parent
00d087e47d
commit
fe7b624353
1 changed files with 1 additions and 0 deletions
|
@ -383,6 +383,7 @@ void Skeleton::_notification(int p_what) {
|
|||
void Skeleton::clear_bones_global_pose_override() {
|
||||
for (int i = 0; i < bones.size(); i += 1) {
|
||||
bones.write[i].global_pose_override_amount = 0;
|
||||
bones.write[i].global_pose_override_reset = true;
|
||||
}
|
||||
_make_dirty();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue