You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +00:00
Fix 'Add Node...' menu entries in AnimationNodeBlendTreeEditor
(cherry picked from commit 1a2153eb0a)
This commit is contained in:
committed by
Rémi Verschelde
parent
d5bd37a1d1
commit
07767fc676
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user