diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-09 11:47:24 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-11-09 11:47:24 +0100 |
commit | 26f1c503ec867d1e0bed50ca35e85db3a784f168 (patch) | |
tree | 088211e2fd2a74e7cdefba1504956c0a864c5cfb /editor/plugins/animation_state_machine_editor.cpp | |
parent | b153f4868aeea4a7128e235750017f96da3a6eee (diff) | |
parent | b04b54609206e6aa84d0c59f764f33570dfc62c1 (diff) | |
download | redot-engine-26f1c503ec867d1e0bed50ca35e85db3a784f168.tar.gz |
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
Fix node names of submenu items across the editor
Diffstat (limited to 'editor/plugins/animation_state_machine_editor.cpp')
-rw-r--r-- | editor/plugins/animation_state_machine_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/animation_state_machine_editor.cpp b/editor/plugins/animation_state_machine_editor.cpp index 746a901a0a..11b5cd488b 100644 --- a/editor/plugins/animation_state_machine_editor.cpp +++ b/editor/plugins/animation_state_machine_editor.cpp @@ -563,7 +563,7 @@ void AnimationNodeStateMachineEditor::_open_menu(const Vector2 &p_position) { List<StringName> animation_names; tree->get_animation_list(&animation_names); - menu->add_submenu_item(TTR("Add Animation"), "animations"); + menu->add_submenu_item(TTR("Add Animation"), "AddAnimations"); if (animation_names.is_empty()) { menu->set_item_disabled(menu->get_item_idx_from_text(TTR("Add Animation")), true); } else { @@ -1774,7 +1774,7 @@ AnimationNodeStateMachineEditor::AnimationNodeStateMachineEditor() { animations_menu = memnew(PopupMenu); menu->add_child(animations_menu); - animations_menu->set_name("animations"); + animations_menu->set_name("AddAnimations"); animations_menu->connect("index_pressed", callable_mp(this, &AnimationNodeStateMachineEditor::_add_animation_type)); connect_menu = memnew(PopupMenu); |