summaryrefslogtreecommitdiff
path: root/modules/fbx/editor_scene_importer_fbx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/fbx/editor_scene_importer_fbx.cpp')
-rw-r--r--modules/fbx/editor_scene_importer_fbx.cpp2
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);
}