fix skeleton (ik) not resetting global_bone_overrides properly

fix skeleton (ik) not resetting global_bone_overrides properly
This commit is contained in:
smix8 2021-04-15 17:29:36 +02:00
parent b8bd648ad9
commit d8b4a61678
1 changed files with 1 additions and 0 deletions

View File

@ -387,6 +387,7 @@ void Skeleton3D::_notification(int p_what) {
void Skeleton3D::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();
}