Browse Source

Merge pull request #56858 from timothyqiu/blend-tree-editor-crash

Rémi Verschelde 3 years ago
parent
commit
345b8e41cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/plugins/animation_blend_tree_editor_plugin.cpp

+ 1 - 1
editor/plugins/animation_blend_tree_editor_plugin.cpp

@@ -103,7 +103,7 @@ void AnimationNodeBlendTreeEditor::_property_changed(const StringName &p_propert
 }
 
 void AnimationNodeBlendTreeEditor::_update_graph() {
-	if (updating) {
+	if (updating || blend_tree.is_null()) {
 		return;
 	}