Skip to content

Commit

Permalink
Merge pull request #57190 from timothyqiu/ani-node-rename
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Jan 25, 2022
2 parents 7cbe183 + 5ea4a8b commit 203e07a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/plugins/animation_blend_tree_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,9 @@ void AnimationNodeBlendTreeEditor::_node_renamed(const String &p_text, Ref<Anima
}

void AnimationNodeBlendTreeEditor::_node_renamed_focus_out(Node *le, Ref<AnimationNode> p_node) {
if (le == nullptr) {
return; // The text_submitted signal triggered the graph update and freed the LineEdit.
}
_node_renamed(le->call("get_text"), p_node);
}

Expand Down

0 comments on commit 203e07a

Please sign in to comment.