Bläddra i källkod

Merge pull request #55413 from Rubonnek/fix-animation-node-blend-tree-menu-master

Rémi Verschelde 3 år sedan
förälder
incheckning
a76be272b9
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      editor/plugins/animation_blend_tree_editor_plugin.cpp

+ 1 - 1
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));