diff options
author | Alex Hirsch <w4rh4wk@bluephoenix.at> | 2021-03-20 17:46:25 +0100 |
---|---|---|
committer | Alex Hirsch <w4rh4wk@bluephoenix.at> | 2021-03-20 17:46:25 +0100 |
commit | 72d3bfc88c562395302168b2041dc3bd83706120 (patch) | |
tree | 5fb2b8850e7679a80013b320015381be5d46e0a9 /modules | |
parent | 47cf9985ebf2799d9718fa1a2ca96f2f70c6d212 (diff) |
FBX Import: Normalize rotation quaternions
fix #47174
Diffstat (limited to 'modules')
-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); } |