Fix gizmo update if select changes outside 3D view
This commit is contained in:
@@ -833,6 +833,8 @@ private:
|
||||
void _set_subgizmo_selection(Object *p_obj, Ref<Node3DGizmo> p_gizmo, int p_id, Transform3D p_transform = Transform3D());
|
||||
void _clear_subgizmo_selection(Object *p_obj = nullptr);
|
||||
|
||||
bool gizmos_dirty = false;
|
||||
|
||||
static Node3DEditor *singleton;
|
||||
|
||||
void _node_added(Node *p_node);
|
||||
@@ -997,6 +999,7 @@ public:
|
||||
bool is_subgizmo_selected(int p_id);
|
||||
Vector<int> get_subgizmo_selection();
|
||||
void clear_subgizmo_selection(Object *p_obj = nullptr);
|
||||
void refresh_dirty_gizmos();
|
||||
|
||||
Ref<EditorNode3DGizmo> get_current_hover_gizmo() const { return current_hover_gizmo; }
|
||||
void set_current_hover_gizmo(Ref<EditorNode3DGizmo> p_gizmo) { current_hover_gizmo = p_gizmo; }
|
||||
|
||||
Reference in New Issue
Block a user