summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-04-30 10:03:29 +0200
committerGitHub <noreply@github.com>2020-04-30 10:03:29 +0200
commitbd8d5e1b65cf323f23ef711f8625f2c01560f369 (patch)
tree875e7a623897f877ee2738abbee9cc2c5703e267
parentdeddf9c4f8135bd99b95a0a99788131cb6d5a0b0 (diff)
parenta636631e3300a81b99b90b9d57090d9ca72b8e63 (diff)
Merge pull request #38325 from Calinou/editor-no-focus-on-align-with-view
Don't focus the selection after using Align Transform With View
-rw-r--r--editor/plugins/node_3d_editor_plugin.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.cpp b/editor/plugins/node_3d_editor_plugin.cpp
index 723898ba6a..60a49f72c0 100644
--- a/editor/plugins/node_3d_editor_plugin.cpp
+++ b/editor/plugins/node_3d_editor_plugin.cpp
@@ -2878,7 +2878,6 @@ void Node3DEditorViewport::_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: {