Merge pull request #47194 from W4RH4WK/fbx-normalize-rotations

FBX Import: Normalize rotation quaternions
This commit is contained in:
Rémi Verschelde 2021-03-21 08:48:53 +01:00 committed by GitHub
commit 07f076fa4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1132,7 +1132,7 @@ Node3D *EditorSceneImporterFBX::_generate_scene(
max_duration = animation_track_time;
}
rot_values.push_back(final_rotation);
rot_values.push_back(final_rotation.normalized());
rot_times.push_back(animation_track_time);
}