Fix for Node3D request gizmos multiple times

This can result in multiple gizmos being created for the same nodes in some circumstances
This commit is contained in:
Elise
2025-05-04 20:49:58 +10:00
parent 1cf573f44d
commit 1aa4c04895
2 changed files with 8 additions and 2 deletions

View File

@@ -154,6 +154,7 @@ private:
#ifdef TOOLS_ENABLED
Vector<Ref<Node3DGizmo>> gizmos;
bool gizmos_requested : 1;
bool gizmos_disabled : 1;
bool gizmos_dirty : 1;
bool transform_gizmo_visible : 1;