summaryrefslogtreecommitdiffstats
path: root/editor/plugins/animation_blend_space_2d_editor.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-14 14:21:31 +0200
committerA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-06-19 09:39:05 +0200
commitd9e2fc74c73204d03a6d4431feef44085c7663df (patch)
treec4a72f36893f22c73668c80accec794a80fbfa78 /editor/plugins/animation_blend_space_2d_editor.cpp
parent0a83e7c5dac550afb26e26684cbb6e4d6c139f5e (diff)
downloadredot-engine-d9e2fc74c73204d03a6d4431feef44085c7663df.tar.gz
[Scene] Add `SceneStringNames::item_selected`
Diffstat (limited to 'editor/plugins/animation_blend_space_2d_editor.cpp')
-rw-r--r--editor/plugins/animation_blend_space_2d_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_blend_space_2d_editor.cpp b/editor/plugins/animation_blend_space_2d_editor.cpp
index 318e132095..4ca776cc0a 100644
--- a/editor/plugins/animation_blend_space_2d_editor.cpp
+++ b/editor/plugins/animation_blend_space_2d_editor.cpp
@@ -968,7 +968,7 @@ AnimationNodeBlendSpace2DEditor::AnimationNodeBlendSpace2DEditor() {
top_hb->add_child(memnew(Label(TTR("Blend:"))));
interpolation = memnew(OptionButton);
top_hb->add_child(interpolation);
- interpolation->connect("item_selected", callable_mp(this, &AnimationNodeBlendSpace2DEditor::_config_changed));
+ interpolation->connect(SceneStringName(item_selected), callable_mp(this, &AnimationNodeBlendSpace2DEditor::_config_changed));
edit_hb = memnew(HBoxContainer);
top_hb->add_child(edit_hb);