diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-03-21 08:48:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-21 08:48:53 +0100 |
commit | 07f076fa4f2896415993bb8e3fb42128423de0d2 (patch) | |
tree | ca794b75b744fe9973be8443aefea6c5b9a2f419 | |
parent | 48ee9cd6902ed93a9307824eaa044dd8963d8435 (diff) | |
parent | 72d3bfc88c562395302168b2041dc3bd83706120 (diff) |
Merge pull request #47194 from W4RH4WK/fbx-normalize-rotations
FBX Import: Normalize rotation quaternions
-rw-r--r-- | modules/fbx/editor_scene_importer_fbx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fbx/editor_scene_importer_fbx.cpp b/modules/fbx/editor_scene_importer_fbx.cpp index 6576147b2b..a2bb547216 100644 --- a/modules/fbx/editor_scene_importer_fbx.cpp +++ b/modules/fbx/editor_scene_importer_fbx.cpp @@ -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); } |