Skip to content

Commit

Permalink
Merge pull request #47194 from W4RH4WK/fbx-normalize-rotations
Browse files Browse the repository at this point in the history
FBX Import: Normalize rotation quaternions
  • Loading branch information
akien-mga authored Mar 21, 2021
2 parents 48ee9cd + 72d3bfc commit 07f076f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/fbx/editor_scene_importer_fbx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 07f076f

Please sign in to comment.