mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #101179 from Flynsarmy/one_less_click
Fix opacity when deleting or renaming a node in AnimationNodeStateMachine
This commit is contained in:
commit
fa90be2684
1 changed files with 3 additions and 0 deletions
|
|
@ -1587,6 +1587,8 @@ void AnimationNodeStateMachineEditor::_name_edited(const String &p_text) {
|
|||
name_edit_popup->hide();
|
||||
updating = false;
|
||||
|
||||
selected_nodes.clear();
|
||||
connected_nodes.clear();
|
||||
state_machine_draw->queue_redraw();
|
||||
}
|
||||
|
||||
|
|
@ -1646,6 +1648,7 @@ void AnimationNodeStateMachineEditor::_erase_selected(const bool p_nested_action
|
|||
updating = false;
|
||||
}
|
||||
|
||||
connected_nodes.clear();
|
||||
selected_nodes.clear();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue