diff --git a/editor/animation/animation_blend_tree_editor_plugin.cpp b/editor/animation/animation_blend_tree_editor_plugin.cpp index 654365e1e0..a6fc12cee6 100644 --- a/editor/animation/animation_blend_tree_editor_plugin.cpp +++ b/editor/animation/animation_blend_tree_editor_plugin.cpp @@ -133,11 +133,13 @@ void AnimationNodeBlendTreeEditor::update_graph() { void AnimationNodeBlendTreeEditor::update_graph_immediately() { if (updating || blend_tree.is_null()) { + graph_update_queued = false; return; } AnimationTree *tree = AnimationTreeEditor::get_singleton()->get_animation_tree(); if (!tree) { + graph_update_queued = false; return; }