mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-23 09:37:17 +01:00
Hide the transform gizmo while editing a mesh data resource.
This commit is contained in:
parent
3220e9c592
commit
31bcbb0184
@ -65,6 +65,7 @@ void MDIEdPlugin::set_gizmo_visible(const bool visible) {
|
||||
if (current_mesh_data_instance) {
|
||||
Ref<MDIGizmo> g = get_gizmo_from(current_mesh_data_instance);
|
||||
g->set_visible(visible);
|
||||
current_mesh_data_instance->set_transform_gizmo_visible(!visible);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user