Merge pull request #109605 from vaner-org/statemachine-play-highlight-fix
Correctly reset StateMachine opacity when a node is played or renamed
This commit is contained in:
commit
4a7ca086a3
1 changed files with 1 additions and 0 deletions
|
|
@ -163,6 +163,7 @@ void AnimationNodeStateMachineEditor::_state_machine_gui_input(const Ref<InputEv
|
|||
selected_transition_to = StringName();
|
||||
selected_transition_index = -1;
|
||||
selected_node = StringName();
|
||||
connected_nodes.clear();
|
||||
|
||||
for (int i = node_rects.size() - 1; i >= 0; i--) { //inverse to draw order
|
||||
if (node_rects[i].play.has_point(mb->get_position())) { //edit name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue