summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-04-29 15:38:55 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-04-29 15:39:33 +0200
commita636631e3300a81b99b90b9d57090d9ca72b8e63 (patch)
treedd8067bfca78dc71fe5c18a4bdf0865ea1cbcd7d /editor/plugins
parent1d45a269f87ff38e04169e6aa85d9ecd73fb3473 (diff)
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.
Diffstat (limited to 'editor/plugins')
-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 e0b0fe6b53..64e12b9c6f 100644
--- a/editor/plugins/node_3d_editor_plugin.cpp
+++ b/editor/plugins/node_3d_editor_plugin.cpp
@@ -2882,7 +2882,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: {