2
0
Fork 0

Fix blend tree editor updating invalid blend tree node graph

Editing unreferenced blend tree caused SIGSEGV when updating node graph.

Fixes #22037
3.1
Andrii Doroshenko (Xrayez) 2018-09-21 12:48:26 +07:00
parent 534b7ef292
commit e343610b0e
1 changed files with 0 additions and 2 deletions

@ -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()) {