diff options
author | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2021-11-28 08:48:14 -0500 |
---|---|---|
committer | Wilson E. Alvarez <wilson.e.alvarez1@gmail.com> | 2021-11-28 09:08:34 -0500 |
commit | 697d9e3cbfb54d91fb3d3c0956896b79cb8e11bd (patch) | |
tree | bf41ac7a32d4800b9942e984653f6dd7cecca2c4 | |
parent | 69a194f051c5f02243092e305633b9ffbd03b05f (diff) |
Fix 'Add Node...' menu entries in AnimationNodeBlendTreeEditor
-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 75d2bed1b2..c4a938f91d 100644 --- a/editor/plugins/animation_blend_tree_editor_plugin.cpp +++ b/editor/plugins/animation_blend_tree_editor_plugin.cpp @@ -945,7 +945,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", callable_mp(this, &AnimationNodeBlendTreeEditor::_add_node)); - add_node->connect("about_to_popup", callable_mp(this, &AnimationNodeBlendTreeEditor::_update_options_menu)); + add_node->connect("about_to_popup", callable_mp(this, &AnimationNodeBlendTreeEditor::_update_options_menu), varray(false)); add_options.push_back(AddOption("Animation", "AnimationNodeAnimation")); add_options.push_back(AddOption("OneShot", "AnimationNodeOneShot", 2)); |