summaryrefslogtreecommitdiffstats
path: root/editor/plugins/animation_blend_space_2d_editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/animation_blend_space_2d_editor.cpp')
-rw-r--r--editor/plugins/animation_blend_space_2d_editor.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/editor/plugins/animation_blend_space_2d_editor.cpp b/editor/plugins/animation_blend_space_2d_editor.cpp
index 0645d51485..057170098d 100644
--- a/editor/plugins/animation_blend_space_2d_editor.cpp
+++ b/editor/plugins/animation_blend_space_2d_editor.cpp
@@ -125,7 +125,7 @@ void AnimationNodeBlendSpace2DEditor::_blend_space_gui_input(const Ref<InputEven
classes.sort_custom<StringName::AlphCompare>();
ClassDB::get_inheriters_from_class("AnimationRootNode", &classes);
- menu->add_submenu_item(TTR("Add Animation"), "animations");
+ menu->add_submenu_item(TTR("Add Animation"), "AddAnimations");
List<StringName> names;
tree->get_animation_list(&names);
@@ -1073,7 +1073,6 @@ AnimationNodeBlendSpace2DEditor::AnimationNodeBlendSpace2DEditor() {
add_child(error_panel);
error_label = memnew(Label);
error_panel->add_child(error_label);
- error_label->set_text("eh");
set_custom_minimum_size(Size2(0, 300 * EDSCALE));
@@ -1083,7 +1082,7 @@ AnimationNodeBlendSpace2DEditor::AnimationNodeBlendSpace2DEditor() {
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, &AnimationNodeBlendSpace2DEditor::_add_animation_type));
open_file = memnew(EditorFileDialog);