1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Merge pull request #38325 from Calinou/editor-no-focus-on-align-with-view

Don't focus the selection after using Align Transform With View
This commit is contained in:
Rémi Verschelde
2020-04-30 10:03:29 +02:00
committed by GitHub

View File

@@ -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->add_undo_method(sp, "set_global_transform", sp->get_global_gizmo_transform());
} }
undo_redo->commit_action(); undo_redo->commit_action();
focus_selection();
} break; } break;
case VIEW_ALIGN_ROTATION_WITH_VIEW: { case VIEW_ALIGN_ROTATION_WITH_VIEW: {