You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Fix crash after renaming an animation node
(cherry picked from commit 5ea4a8b421)
This commit is contained in:
committed by
Rémi Verschelde
parent
6340e4c83f
commit
7a7eab06f8
@@ -915,6 +915,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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user