You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Correctly resets StateMachine opacity when a node is played or renamed
This commit is contained in:
@@ -163,6 +163,7 @@ void AnimationNodeStateMachineEditor::_state_machine_gui_input(const Ref<InputEv
|
|||||||
selected_transition_to = StringName();
|
selected_transition_to = StringName();
|
||||||
selected_transition_index = -1;
|
selected_transition_index = -1;
|
||||||
selected_node = StringName();
|
selected_node = StringName();
|
||||||
|
connected_nodes.clear();
|
||||||
|
|
||||||
for (int i = node_rects.size() - 1; i >= 0; i--) { //inverse to draw order
|
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
|
if (node_rects[i].play.has_point(mb->get_position())) { //edit name
|
||||||
|
|||||||
Reference in New Issue
Block a user