1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

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 a636631e33)
This commit is contained in:
Hugo Locurcio
2020-04-29 15:38:55 +02:00
committed by Rémi Verschelde
parent 68b968ff6c
commit cfd6bc7267

View File

@@ -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: {