Skip to content

Commit fdb6100

Browse files
committed
Merge pull request #92974 from Chaosus/import_settings_animation_bugfix
Fix incorrect camera transform of animation view in the import window
2 parents 4516050 + 29fa291 commit fdb6100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/import/3d/scene_import_settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ void SceneImportSettingsDialog::_update_camera() {
609609
float rot_y = cam_rot_y;
610610
float zoom = cam_zoom;
611611

612-
if (selected_type == "Node" || selected_type.is_empty()) {
612+
if (selected_type == "Node" || selected_type == "Animation" || selected_type.is_empty()) {
613613
camera_aabb = contents_aabb;
614614
} else {
615615
if (mesh_preview->get_mesh().is_valid()) {

0 commit comments

Comments
 (0)