2
0
Эх сурвалжийг харах

Fix crash when undoing node creation of BlendTree editor

Haoyu Qiu 3 жил өмнө
parent
commit
19634bd1a1

+ 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;
 	}