From 72d3bfc88c562395302168b2041dc3bd83706120 Mon Sep 17 00:00:00 2001 From: Alex Hirsch Date: Sat, 20 Mar 2021 17:46:25 +0100 Subject: [PATCH] FBX Import: Normalize rotation quaternions fix #47174 --- modules/fbx/editor_scene_importer_fbx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/fbx/editor_scene_importer_fbx.cpp b/modules/fbx/editor_scene_importer_fbx.cpp index 6576147b2b9..a2bb5472167 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); }