Fix crash when undoing node creation of BlendTree editor

This commit is contained in:
Haoyu Qiu 2022-01-17 14:35:09 +08:00
parent 8958e1b352
commit 19634bd1a1

View file

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