Explorar o código

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.
Hugo Locurcio %!s(int64=5) %!d(string=hai) anos
pai
achega
a636631e33
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      editor/plugins/node_3d_editor_plugin.cpp

+ 0 - 1
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: {