diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-17 09:23:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 09:23:57 +0100 |
commit | 345b8e41cfcc7b13fd70e8081c582c6c9d48a067 (patch) | |
tree | 95e429d3a1753541720c038d0d4154859dc99836 | |
parent | 8958e1b35297baa8ef4f9e03bb4ad105500e3a0c (diff) | |
parent | 19634bd1a10c902dedeac2fc21e3448e53d7d781 (diff) |
Merge pull request #56858 from timothyqiu/blend-tree-editor-crash
-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; } |