diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-01-17 14:35:09 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-01-17 14:35:09 +0800 |
commit | 19634bd1a10c902dedeac2fc21e3448e53d7d781 (patch) | |
tree | 95e429d3a1753541720c038d0d4154859dc99836 /editor/plugins | |
parent | 8958e1b35297baa8ef4f9e03bb4ad105500e3a0c (diff) |
Fix crash when undoing node creation of BlendTree editor
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/animation_blend_tree_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_blend_tree_editor_plugin.cpp b/editor/plugins/animation_blend_tree_editor_plugin.cpp index 10e2f5f1d0..71db40a829 100644 --- a/editor/plugins/animation_blend_tree_editor_plugin.cpp +++ b/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; } |