From 31bcbb01840fa1438a0167af91dd9bd09bf836c8 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 20 Aug 2022 01:42:19 +0200 Subject: [PATCH] Hide the transform gizmo while editing a mesh data resource. --- modules/mesh_data_resource/editor/mdi_ed_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mesh_data_resource/editor/mdi_ed_plugin.cpp b/modules/mesh_data_resource/editor/mdi_ed_plugin.cpp index 17d84c99a..851be61a9 100644 --- a/modules/mesh_data_resource/editor/mdi_ed_plugin.cpp +++ b/modules/mesh_data_resource/editor/mdi_ed_plugin.cpp @@ -65,6 +65,7 @@ void MDIEdPlugin::set_gizmo_visible(const bool visible) { if (current_mesh_data_instance) { Ref g = get_gizmo_from(current_mesh_data_instance); g->set_visible(visible); + current_mesh_data_instance->set_transform_gizmo_visible(!visible); } }