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
1 changed files with 0 additions and 2 deletions
|
@ -833,8 +833,6 @@ void AnimationNodeBlendTreeEditor::edit(const Ref<AnimationNode> &p_node) {
|
||||||
|
|
||||||
if (p_node.is_valid()) {
|
if (p_node.is_valid()) {
|
||||||
blend_tree = p_node;
|
blend_tree = p_node;
|
||||||
} else {
|
|
||||||
blend_tree.unref();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (blend_tree.is_null()) {
|
if (blend_tree.is_null()) {
|
||||||
|
|
Loading…
Reference in a new issue