From 07767fc676693115aef8368837740a5e11960c80 Mon Sep 17 00:00:00 2001 From: "Wilson E. Alvarez" Date: Sun, 28 Nov 2021 08:40:26 -0500 Subject: [PATCH] Fix 'Add Node...' menu entries in AnimationNodeBlendTreeEditor (cherry picked from commit 1a2153eb0a56aaf3c067e4db3672a2f378ff06be) --- editor/plugins/animation_blend_tree_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/plugins/animation_blend_tree_editor_plugin.cpp b/editor/plugins/animation_blend_tree_editor_plugin.cpp index 09d7c598274..723b77f0627 100644 --- a/editor/plugins/animation_blend_tree_editor_plugin.cpp +++ b/editor/plugins/animation_blend_tree_editor_plugin.cpp @@ -969,7 +969,7 @@ AnimationNodeBlendTreeEditor::AnimationNodeBlendTreeEditor() { add_node->set_text(TTR("Add Node...")); graph->get_zoom_hbox()->move_child(add_node, 0); add_node->get_popup()->connect("id_pressed", this, "_add_node"); - add_node->connect("about_to_show", this, "_update_options_menu"); + add_node->connect("about_to_show", this, "_update_options_menu", varray(false)); add_options.push_back(AddOption("Animation", "AnimationNodeAnimation")); add_options.push_back(AddOption("OneShot", "AnimationNodeOneShot", 2));