1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Fix blend tree editor updating invalid blend tree node graph

Editing unreferenced blend tree caused SIGSEGV when updating node graph.

Fixes #22037
This commit is contained in:
Andrii Doroshenko (Xrayez)
2018-09-21 12:48:26 +03:00
parent 534b7ef292
commit e343610b0e

View File

@@ -846,8 +846,6 @@ void AnimationNodeBlendTreeEditor::edit(const Ref<AnimationNode> &p_node) {
if (p_node.is_valid()) {
blend_tree = p_node;
} else {
blend_tree.unref();
}
if (blend_tree.is_null()) {