Merge pull request #22311 from Xrayez/fix-22037
Fix blend tree editor updating invalid blend tree node graph
This commit is contained in:
commit
755249f7d9
|
@ -833,8 +833,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()) {
|
||||
|
|
Loading…
Reference in New Issue