You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Deselect all when renaming a node or deleting a node/connection
This commit is contained in:
@@ -1642,6 +1642,8 @@ void AnimationNodeStateMachineEditor::_name_edited(const String &p_text) {
|
|||||||
name_edit_popup->hide();
|
name_edit_popup->hide();
|
||||||
updating = false;
|
updating = false;
|
||||||
|
|
||||||
|
selected_nodes.clear();
|
||||||
|
connected_nodes.clear();
|
||||||
state_machine_draw->queue_redraw();
|
state_machine_draw->queue_redraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1701,6 +1703,7 @@ void AnimationNodeStateMachineEditor::_erase_selected(const bool p_nested_action
|
|||||||
updating = false;
|
updating = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
connected_nodes.clear();
|
||||||
selected_nodes.clear();
|
selected_nodes.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user