From cfd6bc7267e1ee3d375ef273c26b920b2dddb6d2 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 29 Apr 2020 15:38:55 +0200 Subject: [PATCH] Don't focus the selection after using Align Transform With View It made minor adjustments difficult as the camera moved every time Align Transform With View was used. This closes #36738. (cherry picked from commit a636631e3300a81b99b90b9d57090d9ca72b8e63) --- editor/plugins/spatial_editor_plugin.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 15044c584bf..5e72fb175d3 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -2821,7 +2821,6 @@ void SpatialEditorViewport::_menu_option(int p_option) { undo_redo->add_undo_method(sp, "set_global_transform", sp->get_global_gizmo_transform()); } undo_redo->commit_action(); - focus_selection(); } break; case VIEW_ALIGN_ROTATION_WITH_VIEW: {