1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

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() { void AnimationNodeBlendTreeEditor::_update_graph() {
if (updating) { if (updating || blend_tree.is_null()) {
return; return;
} }