From a426e173f5a38daddc1b8b9ddb285407c6fd4e7e Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 20 Aug 2022 02:07:52 +0200 Subject: [PATCH] Hide MDIEd's toggle button by default. --- modules/mesh_data_resource/editor/mdi_ed.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mesh_data_resource/editor/mdi_ed.cpp b/modules/mesh_data_resource/editor/mdi_ed.cpp index ab4ac310b..c44481441 100644 --- a/modules/mesh_data_resource/editor/mdi_ed.cpp +++ b/modules/mesh_data_resource/editor/mdi_ed.cpp @@ -896,6 +896,7 @@ MDIEd::MDIEd() { _edit_mode_button->set_tooltip(TTR("Edit MeshDataResource.")); _edit_mode_button->connect("toggled", this, "_edit_mode_toggled"); SpatialEditor::get_singleton()->add_control_to_menu_panel(_edit_mode_button); + _edit_mode_button->hide(); _editing = false; }