mirror of
https://github.com/godotengine/godot.git
synced 2025-01-22 10:32:54 -05:00
Use SceneStringName
in more places
This commit is contained in:
parent
893bbdfde8
commit
af56d6e8e8
41 changed files with 69 additions and 69 deletions
|
@ -571,7 +571,7 @@ ActionMapEditor::ActionMapEditor() {
|
|||
add_edit->set_placeholder(TTR("Add New Action"));
|
||||
add_edit->set_clear_button_enabled(true);
|
||||
add_edit->connect(SceneStringName(text_changed), callable_mp(this, &ActionMapEditor::_add_edit_text_changed));
|
||||
add_edit->connect("text_submitted", callable_mp(this, &ActionMapEditor::_add_action));
|
||||
add_edit->connect(SceneStringName(text_submitted), callable_mp(this, &ActionMapEditor::_add_action));
|
||||
add_hbox->add_child(add_edit);
|
||||
|
||||
add_button = memnew(Button);
|
||||
|
|
|
@ -3124,7 +3124,7 @@ void AnimationTrackEdit::gui_input(const Ref<InputEvent> &p_event) {
|
|||
path = memnew(LineEdit);
|
||||
path_popup->add_child(path);
|
||||
path->set_anchors_and_offsets_preset(PRESET_FULL_RECT);
|
||||
path->connect("text_submitted", callable_mp(this, &AnimationTrackEdit::_path_submitted));
|
||||
path->connect(SceneStringName(text_submitted), callable_mp(this, &AnimationTrackEdit::_path_submitted));
|
||||
}
|
||||
|
||||
path->set_text(animation->track_get_path(track));
|
||||
|
|
|
@ -758,7 +758,7 @@ FindReplaceBar::FindReplaceBar() {
|
|||
search_text->set_tooltip_text(TTR("Find"));
|
||||
search_text->set_custom_minimum_size(Size2(100 * EDSCALE, 0));
|
||||
search_text->connect(SceneStringName(text_changed), callable_mp(this, &FindReplaceBar::_search_text_changed));
|
||||
search_text->connect("text_submitted", callable_mp(this, &FindReplaceBar::_search_text_submitted));
|
||||
search_text->connect(SceneStringName(text_submitted), callable_mp(this, &FindReplaceBar::_search_text_submitted));
|
||||
search_text->connect(SceneStringName(focus_exited), callable_mp(this, &FindReplaceBar::_focus_lost));
|
||||
|
||||
matches_label = memnew(Label);
|
||||
|
@ -797,7 +797,7 @@ FindReplaceBar::FindReplaceBar() {
|
|||
replace_text->set_placeholder(TTR("Replace"));
|
||||
replace_text->set_tooltip_text(TTR("Replace"));
|
||||
replace_text->set_custom_minimum_size(Size2(100 * EDSCALE, 0));
|
||||
replace_text->connect("text_submitted", callable_mp(this, &FindReplaceBar::_replace_text_submitted));
|
||||
replace_text->connect(SceneStringName(text_submitted), callable_mp(this, &FindReplaceBar::_replace_text_submitted));
|
||||
replace_text->connect(SceneStringName(focus_exited), callable_mp(this, &FindReplaceBar::_focus_lost));
|
||||
|
||||
replace = memnew(Button);
|
||||
|
|
|
@ -1247,7 +1247,7 @@ DebugAdapterProtocol::DebugAdapterProtocol() {
|
|||
debugger_node->connect("breakpoint_toggled", callable_mp(this, &DebugAdapterProtocol::on_debug_breakpoint_toggled));
|
||||
|
||||
debugger_node->get_default_debugger()->connect("stopped", callable_mp(this, &DebugAdapterProtocol::on_debug_stopped));
|
||||
debugger_node->get_default_debugger()->connect("output", callable_mp(this, &DebugAdapterProtocol::on_debug_output));
|
||||
debugger_node->get_default_debugger()->connect(SceneStringName(output), callable_mp(this, &DebugAdapterProtocol::on_debug_output));
|
||||
debugger_node->get_default_debugger()->connect("breaked", callable_mp(this, &DebugAdapterProtocol::on_debug_breaked));
|
||||
debugger_node->get_default_debugger()->connect("stack_dump", callable_mp(this, &DebugAdapterProtocol::on_debug_stack_dump));
|
||||
debugger_node->get_default_debugger()->connect("stack_frame_vars", callable_mp(this, &DebugAdapterProtocol::on_debug_stack_frame_vars));
|
||||
|
|
|
@ -110,7 +110,7 @@ EditorExpressionEvaluator::EditorExpressionEvaluator() {
|
|||
expression_input->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
expression_input->set_placeholder(TTR("Expression to evaluate"));
|
||||
expression_input->set_clear_button_enabled(true);
|
||||
expression_input->connect("text_submitted", callable_mp(this, &EditorExpressionEvaluator::_evaluate).unbind(1));
|
||||
expression_input->connect(SceneStringName(text_submitted), callable_mp(this, &EditorExpressionEvaluator::_evaluate).unbind(1));
|
||||
expression_input->connect(SceneStringName(text_changed), callable_mp(this, &EditorExpressionEvaluator::_on_expression_input_changed));
|
||||
hb->add_child(expression_input);
|
||||
|
||||
|
|
|
@ -504,7 +504,7 @@ void ScriptEditorDebugger::_parse_message(const String &p_msg, uint64_t p_thread
|
|||
} break;
|
||||
}
|
||||
EditorNode::get_log()->add_message(output_strings[i], msg_type);
|
||||
emit_signal(SNAME("output"), output_strings[i], msg_type);
|
||||
emit_signal(SceneStringName(output), output_strings[i], msg_type);
|
||||
}
|
||||
} else if (p_msg == "performance:profile_frame") {
|
||||
Vector<float> frame_data;
|
||||
|
|
|
@ -815,7 +815,7 @@ EditorAudioBus::EditorAudioBus(EditorAudioBuses *p_buses, bool p_is_master) {
|
|||
set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
|
||||
track_name = memnew(LineEdit);
|
||||
track_name->connect("text_submitted", callable_mp(this, &EditorAudioBus::_name_changed));
|
||||
track_name->connect(SceneStringName(text_submitted), callable_mp(this, &EditorAudioBus::_name_changed));
|
||||
track_name->connect(SceneStringName(focus_exited), callable_mp(this, &EditorAudioBus::_name_focus_exit));
|
||||
vb->add_child(track_name);
|
||||
|
||||
|
|
|
@ -921,7 +921,7 @@ EditorAutoloadSettings::EditorAutoloadSettings() {
|
|||
|
||||
autoload_add_name = memnew(LineEdit);
|
||||
autoload_add_name->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
autoload_add_name->connect("text_submitted", callable_mp(this, &EditorAutoloadSettings::_autoload_text_submitted));
|
||||
autoload_add_name->connect(SceneStringName(text_submitted), callable_mp(this, &EditorAutoloadSettings::_autoload_text_submitted));
|
||||
autoload_add_name->connect(SceneStringName(text_changed), callable_mp(this, &EditorAutoloadSettings::_autoload_text_changed));
|
||||
hbc->add_child(autoload_add_name);
|
||||
|
||||
|
@ -975,7 +975,7 @@ EditorAutoloadSettings::~EditorAutoloadSettings() {
|
|||
|
||||
void EditorAutoloadSettings::_set_autoload_add_path(const String &p_text) {
|
||||
autoload_add_path->set_text(p_text);
|
||||
autoload_add_path->emit_signal(SNAME("text_submitted"), p_text);
|
||||
autoload_add_path->emit_signal(SceneStringName(text_submitted), p_text);
|
||||
}
|
||||
|
||||
void EditorAutoloadSettings::_browse_autoload_add_path() {
|
||||
|
|
|
@ -4099,7 +4099,7 @@ FindBar::FindBar() {
|
|||
search_text->set_custom_minimum_size(Size2(100 * EDSCALE, 0));
|
||||
search_text->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
search_text->connect(SceneStringName(text_changed), callable_mp(this, &FindBar::_search_text_changed));
|
||||
search_text->connect("text_submitted", callable_mp(this, &FindBar::_search_text_submitted));
|
||||
search_text->connect(SceneStringName(text_submitted), callable_mp(this, &FindBar::_search_text_submitted));
|
||||
|
||||
matches_label = memnew(Label);
|
||||
add_child(matches_label);
|
||||
|
|
|
@ -2534,7 +2534,7 @@ EditorInspectorArray::EditorInspectorArray(bool p_read_only) {
|
|||
new_size_spin_box = memnew(SpinBox);
|
||||
new_size_spin_box->set_max(16384);
|
||||
new_size_spin_box->connect(SceneStringName(value_changed), callable_mp(this, &EditorInspectorArray::_new_size_spin_box_value_changed));
|
||||
new_size_spin_box->get_line_edit()->connect("text_submitted", callable_mp(this, &EditorInspectorArray::_new_size_spin_box_text_submitted));
|
||||
new_size_spin_box->get_line_edit()->connect(SceneStringName(text_submitted), callable_mp(this, &EditorInspectorArray::_new_size_spin_box_text_submitted));
|
||||
new_size_spin_box->set_editable(!read_only);
|
||||
resize_dialog_vbox->add_margin_child(TTRC("New Size:"), new_size_spin_box);
|
||||
|
||||
|
@ -2617,7 +2617,7 @@ EditorPaginator::EditorPaginator() {
|
|||
add_child(prev_page_button);
|
||||
|
||||
page_line_edit = memnew(LineEdit);
|
||||
page_line_edit->connect("text_submitted", callable_mp(this, &EditorPaginator::_page_line_edit_text_submitted));
|
||||
page_line_edit->connect(SceneStringName(text_submitted), callable_mp(this, &EditorPaginator::_page_line_edit_text_submitted));
|
||||
page_line_edit->add_theme_constant_override("minimum_character_width", 2);
|
||||
add_child(page_line_edit);
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ EditorPropertyText::EditorPropertyText() {
|
|||
add_focusable(text);
|
||||
text->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
text->connect(SceneStringName(text_changed), callable_mp(this, &EditorPropertyText::_text_changed));
|
||||
text->connect("text_submitted", callable_mp(this, &EditorPropertyText::_text_submitted));
|
||||
text->connect(SceneStringName(text_submitted), callable_mp(this, &EditorPropertyText::_text_submitted));
|
||||
}
|
||||
|
||||
///////////////////// MULTILINE TEXT /////////////////////////
|
||||
|
@ -378,7 +378,7 @@ EditorPropertyTextEnum::EditorPropertyTextEnum() {
|
|||
custom_value_edit = memnew(LineEdit);
|
||||
custom_value_edit->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
edit_custom_layout->add_child(custom_value_edit);
|
||||
custom_value_edit->connect("text_submitted", callable_mp(this, &EditorPropertyTextEnum::_custom_value_submitted));
|
||||
custom_value_edit->connect(SceneStringName(text_submitted), callable_mp(this, &EditorPropertyTextEnum::_custom_value_submitted));
|
||||
|
||||
accept_button = memnew(Button);
|
||||
accept_button->set_flat(true);
|
||||
|
@ -443,7 +443,7 @@ EditorPropertyLocale::EditorPropertyLocale() {
|
|||
add_child(locale_hb);
|
||||
locale = memnew(LineEdit);
|
||||
locale_hb->add_child(locale);
|
||||
locale->connect("text_submitted", callable_mp(this, &EditorPropertyLocale::_locale_selected));
|
||||
locale->connect(SceneStringName(text_submitted), callable_mp(this, &EditorPropertyLocale::_locale_selected));
|
||||
locale->connect(SceneStringName(focus_exited), callable_mp(this, &EditorPropertyLocale::_locale_focus_exited));
|
||||
locale->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
|
||||
|
@ -598,7 +598,7 @@ EditorPropertyPath::EditorPropertyPath() {
|
|||
SET_DRAG_FORWARDING_CDU(path, EditorPropertyPath);
|
||||
path->set_structured_text_bidi_override(TextServer::STRUCTURED_TEXT_FILE);
|
||||
path_hb->add_child(path);
|
||||
path->connect("text_submitted", callable_mp(this, &EditorPropertyPath::_path_selected));
|
||||
path->connect(SceneStringName(text_submitted), callable_mp(this, &EditorPropertyPath::_path_selected));
|
||||
path->connect(SceneStringName(focus_exited), callable_mp(this, &EditorPropertyPath::_path_focus_exited));
|
||||
path->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
|
||||
|
@ -2947,7 +2947,7 @@ EditorPropertyNodePath::EditorPropertyNodePath() {
|
|||
edit->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
edit->hide();
|
||||
edit->connect(SceneStringName(focus_exited), callable_mp(this, &EditorPropertyNodePath::_accept_text));
|
||||
edit->connect(SNAME("text_submitted"), callable_mp(this, &EditorPropertyNodePath::_text_submitted));
|
||||
edit->connect(SceneStringName(text_submitted), callable_mp(this, &EditorPropertyNodePath::_text_submitted));
|
||||
hbc->add_child(edit);
|
||||
}
|
||||
|
||||
|
|
|
@ -1359,7 +1359,7 @@ void EditorAudioStreamPicker::_preview_draw() {
|
|||
}
|
||||
|
||||
stream_preview_rect->draw_texture(icon, Point2i(EDSCALE * 4, rect.position.y + (rect.size.height - icon->get_height()) / 2), icon_modulate);
|
||||
stream_preview_rect->draw_string(font, Point2i(EDSCALE * 4 + icon->get_width(), rect.position.y + font->get_ascent(font_size) + (rect.size.height - font->get_height(font_size)) / 2), text, HORIZONTAL_ALIGNMENT_CENTER, size.width - 4 * EDSCALE - icon->get_width(), font_size, get_theme_color(SNAME("font_color"), EditorStringName(Editor)));
|
||||
stream_preview_rect->draw_string(font, Point2i(EDSCALE * 4 + icon->get_width(), rect.position.y + font->get_ascent(font_size) + (rect.size.height - font->get_height(font_size)) / 2), text, HORIZONTAL_ALIGNMENT_CENTER, size.width - 4 * EDSCALE - icon->get_width(), font_size, get_theme_color(SceneStringName(font_color), EditorStringName(Editor)));
|
||||
}
|
||||
|
||||
EditorAudioStreamPicker::EditorAudioStreamPicker() :
|
||||
|
|
|
@ -1245,10 +1245,10 @@ void ProjectExportDialog::_validate_export_path(const String &p_path) {
|
|||
|
||||
if (invalid_path) {
|
||||
export_project->get_ok_button()->set_disabled(true);
|
||||
export_project->get_line_edit()->disconnect("text_submitted", callable_mp(export_project, &EditorFileDialog::_file_submitted));
|
||||
export_project->get_line_edit()->disconnect(SceneStringName(text_submitted), callable_mp(export_project, &EditorFileDialog::_file_submitted));
|
||||
} else {
|
||||
export_project->get_ok_button()->set_disabled(false);
|
||||
export_project->get_line_edit()->connect("text_submitted", callable_mp(export_project, &EditorFileDialog::_file_submitted));
|
||||
export_project->get_line_edit()->connect(SceneStringName(text_submitted), callable_mp(export_project, &EditorFileDialog::_file_submitted));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1281,9 +1281,9 @@ void ProjectExportDialog::_export_project() {
|
|||
// with _validate_export_path.
|
||||
// FIXME: This is a hack, we should instead change EditorFileDialog to allow
|
||||
// disabling validation by the "text_submitted" signal.
|
||||
if (!export_project->get_line_edit()->is_connected("text_submitted", callable_mp(export_project, &EditorFileDialog::_file_submitted))) {
|
||||
if (!export_project->get_line_edit()->is_connected(SceneStringName(text_submitted), callable_mp(export_project, &EditorFileDialog::_file_submitted))) {
|
||||
export_project->get_ok_button()->set_disabled(false);
|
||||
export_project->get_line_edit()->connect("text_submitted", callable_mp(export_project, &EditorFileDialog::_file_submitted));
|
||||
export_project->get_line_edit()->connect(SceneStringName(text_submitted), callable_mp(export_project, &EditorFileDialog::_file_submitted));
|
||||
}
|
||||
|
||||
export_project->set_file_mode(EditorFileDialog::FILE_MODE_SAVE_FILE);
|
||||
|
|
|
@ -180,7 +180,7 @@ FileSystemList::FileSystemList() {
|
|||
line_editor = memnew(LineEdit);
|
||||
line_editor->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
popup_editor_vb->add_child(line_editor);
|
||||
line_editor->connect("text_submitted", callable_mp(this, &FileSystemList::_line_editor_submit));
|
||||
line_editor->connect(SceneStringName(text_submitted), callable_mp(this, &FileSystemList::_line_editor_submit));
|
||||
popup_editor->connect("popup_hide", callable_mp(this, &FileSystemList::_text_editor_popup_modal_close));
|
||||
}
|
||||
|
||||
|
@ -512,7 +512,7 @@ void FileSystemDock::_notification(int p_what) {
|
|||
button_hist_prev->connect(SceneStringName(pressed), callable_mp(this, &FileSystemDock::_bw_history));
|
||||
file_list_popup->connect(SceneStringName(id_pressed), callable_mp(this, &FileSystemDock::_file_list_rmb_option));
|
||||
tree_popup->connect(SceneStringName(id_pressed), callable_mp(this, &FileSystemDock::_tree_rmb_option));
|
||||
current_path_line_edit->connect("text_submitted", callable_mp(this, &FileSystemDock::_navigate_to_path).bind(false));
|
||||
current_path_line_edit->connect(SceneStringName(text_submitted), callable_mp(this, &FileSystemDock::_navigate_to_path).bind(false));
|
||||
|
||||
always_show_folders = bool(EDITOR_GET("docks/filesystem/always_show_folders"));
|
||||
|
||||
|
@ -3281,7 +3281,7 @@ void FileSystemDock::_file_and_folders_fill_popup(PopupMenu *p_popup, const Vect
|
|||
|
||||
if (cached_valid_conversion_targets.size() > CONVERSION_SUBMENU_THRESHOLD) {
|
||||
container_menu = memnew(PopupMenu);
|
||||
container_menu->connect("id_pressed", callable_mp(this, &FileSystemDock::_generic_rmb_option_selected));
|
||||
container_menu->connect(SceneStringName(id_pressed), callable_mp(this, &FileSystemDock::_generic_rmb_option_selected));
|
||||
|
||||
p_popup->add_submenu_node_item(TTR("Convert to..."), container_menu, FILE_NEW);
|
||||
conversion_string_template = "%s";
|
||||
|
|
|
@ -320,7 +320,7 @@ FindInFilesDialog::FindInFilesDialog() {
|
|||
_search_text_line_edit = memnew(LineEdit);
|
||||
_search_text_line_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
_search_text_line_edit->connect(SceneStringName(text_changed), callable_mp(this, &FindInFilesDialog::_on_search_text_modified));
|
||||
_search_text_line_edit->connect("text_submitted", callable_mp(this, &FindInFilesDialog::_on_search_text_submitted));
|
||||
_search_text_line_edit->connect(SceneStringName(text_submitted), callable_mp(this, &FindInFilesDialog::_on_search_text_submitted));
|
||||
gc->add_child(_search_text_line_edit);
|
||||
|
||||
_replace_label = memnew(Label);
|
||||
|
@ -330,7 +330,7 @@ FindInFilesDialog::FindInFilesDialog() {
|
|||
|
||||
_replace_text_line_edit = memnew(LineEdit);
|
||||
_replace_text_line_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
_replace_text_line_edit->connect("text_submitted", callable_mp(this, &FindInFilesDialog::_on_replace_text_submitted));
|
||||
_replace_text_line_edit->connect(SceneStringName(text_submitted), callable_mp(this, &FindInFilesDialog::_on_replace_text_submitted));
|
||||
_replace_text_line_edit->hide();
|
||||
gc->add_child(_replace_text_line_edit);
|
||||
|
||||
|
|
|
@ -500,7 +500,7 @@ GroupSettingsEditor::GroupSettingsEditor() {
|
|||
group_name->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
group_name->set_clear_button_enabled(true);
|
||||
group_name->connect(SceneStringName(text_changed), callable_mp(this, &GroupSettingsEditor::_group_name_text_changed));
|
||||
group_name->connect("text_submitted", callable_mp(this, &GroupSettingsEditor::_text_submitted));
|
||||
group_name->connect(SceneStringName(text_submitted), callable_mp(this, &GroupSettingsEditor::_text_submitted));
|
||||
hbc->add_child(group_name);
|
||||
|
||||
l = memnew(Label);
|
||||
|
@ -510,7 +510,7 @@ GroupSettingsEditor::GroupSettingsEditor() {
|
|||
group_description = memnew(LineEdit);
|
||||
group_description->set_clear_button_enabled(true);
|
||||
group_description->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
group_description->connect("text_submitted", callable_mp(this, &GroupSettingsEditor::_text_submitted));
|
||||
group_description->connect(SceneStringName(text_submitted), callable_mp(this, &GroupSettingsEditor::_text_submitted));
|
||||
hbc->add_child(group_description);
|
||||
|
||||
add_button = memnew(Button);
|
||||
|
|
|
@ -2511,10 +2511,10 @@ EditorFileDialog::EditorFileDialog() {
|
|||
item_list->connect("multi_selected", callable_mp(this, &EditorFileDialog::_multi_selected), CONNECT_DEFERRED);
|
||||
item_list->connect("item_activated", callable_mp(this, &EditorFileDialog::_item_dc_selected).bind());
|
||||
item_list->connect("empty_clicked", callable_mp(this, &EditorFileDialog::_items_clear_selection));
|
||||
dir->connect("text_submitted", callable_mp(this, &EditorFileDialog::_dir_submitted));
|
||||
dir->connect(SceneStringName(text_submitted), callable_mp(this, &EditorFileDialog::_dir_submitted));
|
||||
filter_box->connect(SceneStringName(text_changed), callable_mp(this, &EditorFileDialog::_filter_changed));
|
||||
filter_box->connect(SceneStringName(text_submitted), callable_mp(this, &EditorFileDialog::_search_filter_selected).unbind(1));
|
||||
file->connect("text_submitted", callable_mp(this, &EditorFileDialog::_file_submitted));
|
||||
file->connect(SceneStringName(text_submitted), callable_mp(this, &EditorFileDialog::_file_submitted));
|
||||
filter->connect(SceneStringName(item_selected), callable_mp(this, &EditorFileDialog::_filter_selected));
|
||||
|
||||
confirm_save = memnew(ConfirmationDialog);
|
||||
|
|
|
@ -719,7 +719,7 @@ void EditorSpinSlider::_ensure_input_popup() {
|
|||
value_input_popup->add_child(value_input);
|
||||
value_input->set_anchors_and_offsets_preset(PRESET_FULL_RECT);
|
||||
value_input_popup->connect(SceneStringName(hidden), callable_mp(this, &EditorSpinSlider::_value_input_closed));
|
||||
value_input->connect("text_submitted", callable_mp(this, &EditorSpinSlider::_value_input_submitted));
|
||||
value_input->connect(SceneStringName(text_submitted), callable_mp(this, &EditorSpinSlider::_value_input_submitted));
|
||||
value_input->connect(SceneStringName(focus_exited), callable_mp(this, &EditorSpinSlider::_value_focus_exited));
|
||||
value_input->connect(SceneStringName(gui_input), callable_mp(this, &EditorSpinSlider::_value_input_gui_input));
|
||||
|
||||
|
|
|
@ -162,7 +162,7 @@ void AnimationNodeBlendTreeEditor::update_graph() {
|
|||
node->set_name(E);
|
||||
|
||||
int base = 0;
|
||||
if (String(E) != "output") {
|
||||
if (E != SceneStringName(output)) {
|
||||
LineEdit *name = memnew(LineEdit);
|
||||
name->set_text(E);
|
||||
name->set_editable(!read_only);
|
||||
|
@ -170,7 +170,7 @@ void AnimationNodeBlendTreeEditor::update_graph() {
|
|||
name->set_custom_minimum_size(Vector2(100, 0) * EDSCALE);
|
||||
node->add_child(name);
|
||||
node->set_slot(0, false, 0, Color(), true, read_only ? -1 : 0, get_theme_color(SceneStringName(font_color), SNAME("Label")));
|
||||
name->connect("text_submitted", callable_mp(this, &AnimationNodeBlendTreeEditor::_node_renamed).bind(agnode), CONNECT_DEFERRED);
|
||||
name->connect(SceneStringName(text_submitted), callable_mp(this, &AnimationNodeBlendTreeEditor::_node_renamed).bind(agnode), CONNECT_DEFERRED);
|
||||
name->connect(SceneStringName(focus_exited), callable_mp(this, &AnimationNodeBlendTreeEditor::_node_renamed_focus_out).bind(agnode), CONNECT_DEFERRED);
|
||||
name->connect(SceneStringName(text_changed), callable_mp(this, &AnimationNodeBlendTreeEditor::_node_rename_lineedit_changed), CONNECT_DEFERRED);
|
||||
base = 1;
|
||||
|
|
|
@ -2197,7 +2197,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(AnimationPlayerEditorPlugin *p_plug
|
|||
animation->connect(SceneStringName(item_selected), callable_mp(this, &AnimationPlayerEditor::_animation_selected));
|
||||
|
||||
frame->connect(SceneStringName(value_changed), callable_mp(this, &AnimationPlayerEditor::_seek_value_changed).bind(false));
|
||||
scale->connect(SNAME("text_submitted"), callable_mp(this, &AnimationPlayerEditor::_scale_changed));
|
||||
scale->connect(SceneStringName(text_submitted), callable_mp(this, &AnimationPlayerEditor::_scale_changed));
|
||||
|
||||
add_child(track_editor);
|
||||
track_editor->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
|
|
|
@ -1795,7 +1795,7 @@ AnimationNodeStateMachineEditor::AnimationNodeStateMachineEditor() {
|
|||
name_edit = memnew(LineEdit);
|
||||
name_edit_popup->add_child(name_edit);
|
||||
name_edit->set_anchors_and_offsets_preset(PRESET_FULL_RECT);
|
||||
name_edit->connect("text_submitted", callable_mp(this, &AnimationNodeStateMachineEditor::_name_edited));
|
||||
name_edit->connect(SceneStringName(text_submitted), callable_mp(this, &AnimationNodeStateMachineEditor::_name_edited));
|
||||
name_edit->connect(SceneStringName(focus_exited), callable_mp(this, &AnimationNodeStateMachineEditor::_name_edited_focus_out));
|
||||
|
||||
open_file = memnew(EditorFileDialog);
|
||||
|
|
|
@ -668,7 +668,7 @@ MeshInstance3DEditor::MeshInstance3DEditor() {
|
|||
navigation_mesh_dialog_vbc->add_child(navigation_mesh_l);
|
||||
|
||||
add_child(navigation_mesh_dialog);
|
||||
navigation_mesh_dialog->connect("confirmed", callable_mp(this, &MeshInstance3DEditor::_create_navigation_mesh));
|
||||
navigation_mesh_dialog->connect(SceneStringName(confirmed), callable_mp(this, &MeshInstance3DEditor::_create_navigation_mesh));
|
||||
}
|
||||
|
||||
void MeshInstance3DEditorPlugin::edit(Object *p_object) {
|
||||
|
|
|
@ -2181,7 +2181,7 @@ SpriteFramesEditor::SpriteFramesEditor() {
|
|||
|
||||
updating = false;
|
||||
|
||||
edited_anim = "default";
|
||||
edited_anim = SceneStringName(default_);
|
||||
|
||||
delete_dialog = memnew(ConfirmationDialog);
|
||||
add_child(delete_dialog);
|
||||
|
|
|
@ -1950,7 +1950,7 @@ ThemeItemEditorDialog::ThemeItemEditorDialog(ThemeTypeEditor *p_theme_type_edito
|
|||
edit_dialog_side_vb->add_child(edit_add_type_hb);
|
||||
edit_add_type_value = memnew(LineEdit);
|
||||
edit_add_type_value->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
edit_add_type_value->connect("text_submitted", callable_mp(this, &ThemeItemEditorDialog::_add_theme_type));
|
||||
edit_add_type_value->connect(SceneStringName(text_submitted), callable_mp(this, &ThemeItemEditorDialog::_add_theme_type));
|
||||
edit_add_type_hb->add_child(edit_add_type_value);
|
||||
edit_add_type_button = memnew(Button);
|
||||
edit_add_type_hb->add_child(edit_add_type_button);
|
||||
|
@ -2260,7 +2260,7 @@ ThemeTypeDialog::ThemeTypeDialog() {
|
|||
add_type_filter = memnew(LineEdit);
|
||||
add_type_vb->add_child(add_type_filter);
|
||||
add_type_filter->connect(SceneStringName(text_changed), callable_mp(this, &ThemeTypeDialog::_add_type_filter_cbk));
|
||||
add_type_filter->connect("text_submitted", callable_mp(this, &ThemeTypeDialog::_add_type_dialog_entered));
|
||||
add_type_filter->connect(SceneStringName(text_submitted), callable_mp(this, &ThemeTypeDialog::_add_type_dialog_entered));
|
||||
add_type_filter->connect(SceneStringName(gui_input), callable_mp(this, &ThemeTypeDialog::_type_filter_input));
|
||||
|
||||
Label *add_type_options_label = memnew(Label);
|
||||
|
@ -2308,7 +2308,7 @@ VBoxContainer *ThemeTypeEditor::_create_item_list(Theme::DataType p_data_type) {
|
|||
LineEdit *item_add_edit = memnew(LineEdit);
|
||||
item_add_edit->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
item_add_hb->add_child(item_add_edit);
|
||||
item_add_edit->connect("text_submitted", callable_mp(this, &ThemeTypeEditor::_item_add_lineedit_cbk).bind(p_data_type, item_add_edit));
|
||||
item_add_edit->connect(SceneStringName(text_submitted), callable_mp(this, &ThemeTypeEditor::_item_add_lineedit_cbk).bind(p_data_type, item_add_edit));
|
||||
Button *item_add_button = memnew(Button);
|
||||
item_add_button->set_text(TTR("Add"));
|
||||
item_add_button->set_disabled(true);
|
||||
|
@ -2481,7 +2481,7 @@ HBoxContainer *ThemeTypeEditor::_create_property_control(Theme::DataType p_data_
|
|||
item_name_edit->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
item_name_edit->set_text(p_item_name);
|
||||
item_name_container->add_child(item_name_edit);
|
||||
item_name_edit->connect("text_submitted", callable_mp(this, &ThemeTypeEditor::_item_rename_entered).bind(p_data_type, p_item_name, item_name_container));
|
||||
item_name_edit->connect(SceneStringName(text_submitted), callable_mp(this, &ThemeTypeEditor::_item_rename_entered).bind(p_data_type, p_item_name, item_name_container));
|
||||
item_name_edit->hide();
|
||||
|
||||
Button *item_rename_button = memnew(Button);
|
||||
|
|
|
@ -828,7 +828,7 @@ void VisualShaderGraphPlugin::add_node(VisualShader::Type p_type, int p_id, bool
|
|||
register_parameter_name(p_id, parameter_name);
|
||||
parameter_name->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
parameter_name->set_text(parameter->get_parameter_name());
|
||||
parameter_name->connect("text_submitted", callable_mp(editor, &VisualShaderEditor::_parameter_line_edit_changed).bind(p_id));
|
||||
parameter_name->connect(SceneStringName(text_submitted), callable_mp(editor, &VisualShaderEditor::_parameter_line_edit_changed).bind(p_id));
|
||||
parameter_name->connect(SceneStringName(focus_exited), callable_mp(editor, &VisualShaderEditor::_parameter_line_edit_focus_out).bind(parameter_name, p_id));
|
||||
|
||||
if (vsnode->get_output_port_count() == 1 && vsnode->get_output_port_name(0) == "") {
|
||||
|
@ -1140,7 +1140,7 @@ void VisualShaderGraphPlugin::add_node(VisualShader::Type p_type, int p_id, bool
|
|||
name_box->set_custom_minimum_size(Size2(65 * EDSCALE, 0));
|
||||
name_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
name_box->set_text(name_left);
|
||||
name_box->connect("text_submitted", callable_mp(editor, &VisualShaderEditor::_change_input_port_name).bind(name_box, p_id, j), CONNECT_DEFERRED);
|
||||
name_box->connect(SceneStringName(text_submitted), callable_mp(editor, &VisualShaderEditor::_change_input_port_name).bind(name_box, p_id, j), CONNECT_DEFERRED);
|
||||
name_box->connect(SceneStringName(focus_exited), callable_mp(editor, &VisualShaderEditor::_port_name_focus_out).bind(name_box, p_id, j, false), CONNECT_DEFERRED);
|
||||
|
||||
Button *remove_btn = memnew(Button);
|
||||
|
@ -1182,7 +1182,7 @@ void VisualShaderGraphPlugin::add_node(VisualShader::Type p_type, int p_id, bool
|
|||
name_box->set_custom_minimum_size(Size2(65 * EDSCALE, 0));
|
||||
name_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
name_box->set_text(name_right);
|
||||
name_box->connect("text_submitted", callable_mp(editor, &VisualShaderEditor::_change_output_port_name).bind(name_box, p_id, i), CONNECT_DEFERRED);
|
||||
name_box->connect(SceneStringName(text_submitted), callable_mp(editor, &VisualShaderEditor::_change_output_port_name).bind(name_box, p_id, i), CONNECT_DEFERRED);
|
||||
name_box->connect(SceneStringName(focus_exited), callable_mp(editor, &VisualShaderEditor::_port_name_focus_out).bind(name_box, p_id, i, true), CONNECT_DEFERRED);
|
||||
|
||||
OptionButton *type_box = memnew(OptionButton);
|
||||
|
@ -6852,7 +6852,7 @@ VisualShaderEditor::VisualShaderEditor() {
|
|||
frame_title_change_edit->set_expand_to_text_length_enabled(true);
|
||||
frame_title_change_edit->set_select_all_on_focus(true);
|
||||
frame_title_change_edit->connect(SceneStringName(text_changed), callable_mp(this, &VisualShaderEditor::_frame_title_text_changed));
|
||||
frame_title_change_edit->connect("text_submitted", callable_mp(this, &VisualShaderEditor::_frame_title_text_submitted));
|
||||
frame_title_change_edit->connect(SceneStringName(text_submitted), callable_mp(this, &VisualShaderEditor::_frame_title_text_submitted));
|
||||
frame_title_change_popup->add_child(frame_title_change_edit);
|
||||
frame_title_change_edit->reset_size();
|
||||
frame_title_change_popup->reset_size();
|
||||
|
|
|
@ -1279,7 +1279,7 @@ ProjectManager::ProjectManager() {
|
|||
search_box->set_tooltip_text(TTR("This field filters projects by name and last path component.\nTo filter projects by name and full path, the query must contain at least one `/` character."));
|
||||
search_box->set_clear_button_enabled(true);
|
||||
search_box->connect(SceneStringName(text_changed), callable_mp(this, &ProjectManager::_on_search_term_changed));
|
||||
search_box->connect("text_submitted", callable_mp(this, &ProjectManager::_on_search_term_submitted));
|
||||
search_box->connect(SceneStringName(text_submitted), callable_mp(this, &ProjectManager::_on_search_term_submitted));
|
||||
search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
hb->add_child(search_box);
|
||||
|
||||
|
@ -1578,7 +1578,7 @@ ProjectManager::ProjectManager() {
|
|||
new_tag_name = memnew(LineEdit);
|
||||
tag_vb->add_child(new_tag_name);
|
||||
new_tag_name->connect(SceneStringName(text_changed), callable_mp(this, &ProjectManager::_set_new_tag_name));
|
||||
new_tag_name->connect("text_submitted", callable_mp(this, &ProjectManager::_create_new_tag).unbind(1));
|
||||
new_tag_name->connect(SceneStringName(text_submitted), callable_mp(this, &ProjectManager::_create_new_tag).unbind(1));
|
||||
create_tag_dialog->connect("about_to_popup", callable_mp(new_tag_name, &LineEdit::clear));
|
||||
create_tag_dialog->connect("about_to_popup", callable_mp((Control *)new_tag_name, &Control::grab_focus), CONNECT_DEFERRED);
|
||||
|
||||
|
|
|
@ -254,7 +254,7 @@ SceneCreateDialog::SceneCreateDialog() {
|
|||
scene_name_edit = memnew(LineEdit);
|
||||
hb->add_child(scene_name_edit);
|
||||
scene_name_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
scene_name_edit->connect("text_submitted", callable_mp(this, &SceneCreateDialog::accept_create).unbind(1));
|
||||
scene_name_edit->connect(SceneStringName(text_submitted), callable_mp(this, &SceneCreateDialog::accept_create).unbind(1));
|
||||
|
||||
List<String> extensions;
|
||||
Ref<PackedScene> sd = memnew(PackedScene);
|
||||
|
@ -277,7 +277,7 @@ SceneCreateDialog::SceneCreateDialog() {
|
|||
root_name_edit->set_tooltip_text(TTR("When empty, the root node name is derived from the scene name based on the \"editor/naming/node_name_casing\" project setting."));
|
||||
root_name_edit->set_auto_translate_mode(AUTO_TRANSLATE_MODE_DISABLED);
|
||||
root_name_edit->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
root_name_edit->connect("text_submitted", callable_mp(this, &SceneCreateDialog::accept_create).unbind(1));
|
||||
root_name_edit->connect(SceneStringName(text_submitted), callable_mp(this, &SceneCreateDialog::accept_create).unbind(1));
|
||||
}
|
||||
|
||||
Control *spacing = memnew(Control);
|
||||
|
|
|
@ -458,7 +458,7 @@ ShaderGlobalsEditor::ShaderGlobalsEditor() {
|
|||
variable_name->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
variable_name->set_clear_button_enabled(true);
|
||||
variable_name->connect(SceneStringName(text_changed), callable_mp(this, &ShaderGlobalsEditor::_variable_name_text_changed));
|
||||
variable_name->connect("text_submitted", callable_mp(this, &ShaderGlobalsEditor::_variable_added).unbind(1));
|
||||
variable_name->connect(SceneStringName(text_submitted), callable_mp(this, &ShaderGlobalsEditor::_variable_added).unbind(1));
|
||||
|
||||
add_menu_hb->add_child(variable_name);
|
||||
|
||||
|
|
|
@ -1866,7 +1866,7 @@ void EditorThemeManager::_populate_editor_styles(const Ref<EditorTheme> &p_theme
|
|||
|
||||
// Game view.
|
||||
p_theme->set_type_variation("GamePanel", "Panel");
|
||||
Ref<StyleBoxFlat> game_panel = p_theme->get_stylebox(SNAME("panel"), SNAME("Panel"))->duplicate();
|
||||
Ref<StyleBoxFlat> game_panel = p_theme->get_stylebox(SceneStringName(panel), SNAME("Panel"))->duplicate();
|
||||
game_panel->set_corner_radius_all(0);
|
||||
p_theme->set_stylebox(SceneStringName(panel), "GamePanel", game_panel);
|
||||
|
||||
|
|
|
@ -236,7 +236,7 @@ ReplicationEditor::ReplicationEditor() {
|
|||
np_line_edit = memnew(LineEdit);
|
||||
np_line_edit->set_placeholder(":property");
|
||||
np_line_edit->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
np_line_edit->connect("text_submitted", callable_mp(this, &ReplicationEditor::_np_text_submitted));
|
||||
np_line_edit->connect(SceneStringName(text_submitted), callable_mp(this, &ReplicationEditor::_np_text_submitted));
|
||||
hb->add_child(np_line_edit);
|
||||
|
||||
add_from_path_button = memnew(Button);
|
||||
|
|
|
@ -41,7 +41,7 @@ class AnimatedSprite2D : public Node2D {
|
|||
String autoplay;
|
||||
|
||||
bool playing = false;
|
||||
StringName animation = "default";
|
||||
StringName animation = SceneStringName(default_);
|
||||
int frame = 0;
|
||||
float speed_scale = 1.0;
|
||||
float custom_speed_scale = 1.0;
|
||||
|
|
|
@ -231,7 +231,7 @@ class AnimatedSprite3D : public SpriteBase3D {
|
|||
String autoplay;
|
||||
|
||||
bool playing = false;
|
||||
StringName animation = "default";
|
||||
StringName animation = SceneStringName(default_);
|
||||
int frame = 0;
|
||||
float speed_scale = 1.0;
|
||||
float custom_speed_scale = 1.0;
|
||||
|
|
|
@ -274,7 +274,7 @@ void XRNode3D::set_tracker(const StringName &p_tracker_name) {
|
|||
|
||||
// copy the name
|
||||
tracker_name = p_tracker_name;
|
||||
pose_name = "default";
|
||||
pose_name = SceneStringName(default_);
|
||||
|
||||
// see if it's already available
|
||||
_bind_tracker();
|
||||
|
|
|
@ -45,7 +45,7 @@ protected:
|
|||
// The name and pose for our HMD tracker is currently the only hardcoded bit.
|
||||
// If we ever are able to support multiple HMDs we may need to make this settable.
|
||||
StringName tracker_name = "head";
|
||||
StringName pose_name = "default";
|
||||
StringName pose_name = SceneStringName(default_);
|
||||
Ref<XRPositionalTracker> tracker;
|
||||
|
||||
void _bind_tracker();
|
||||
|
@ -77,7 +77,7 @@ class XRNode3D : public Node3D {
|
|||
|
||||
private:
|
||||
StringName tracker_name;
|
||||
StringName pose_name = "default";
|
||||
StringName pose_name = SceneStringName(default_);
|
||||
bool has_tracking_data = false;
|
||||
bool show_when_tracked = false;
|
||||
|
||||
|
|
|
@ -1957,7 +1957,7 @@ ColorPicker::ColorPicker() {
|
|||
c_text->set_select_all_on_focus(true);
|
||||
c_text->set_tooltip_text(ETR("Enter a hex code (\"#ff0000\") or named color (\"red\")."));
|
||||
c_text->set_placeholder(ETR("Hex code or named color"));
|
||||
c_text->connect("text_submitted", callable_mp(this, &ColorPicker::_html_submitted));
|
||||
c_text->connect(SceneStringName(text_submitted), callable_mp(this, &ColorPicker::_html_submitted));
|
||||
c_text->connect(SceneStringName(text_changed), callable_mp(this, &ColorPicker::_text_changed));
|
||||
c_text->connect(SceneStringName(focus_exited), callable_mp(this, &ColorPicker::_html_focus_exit));
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ String AcceptDialog::get_ok_button_text() const {
|
|||
|
||||
void AcceptDialog::register_text_enter(LineEdit *p_line_edit) {
|
||||
ERR_FAIL_NULL(p_line_edit);
|
||||
p_line_edit->connect("text_submitted", callable_mp(this, &AcceptDialog::_text_submitted));
|
||||
p_line_edit->connect(SceneStringName(text_submitted), callable_mp(this, &AcceptDialog::_text_submitted));
|
||||
}
|
||||
|
||||
void AcceptDialog::_update_child_rects() {
|
||||
|
|
|
@ -845,7 +845,7 @@ void FileDialog::_filename_filter_selected() {
|
|||
TreeItem *item = tree->get_selected();
|
||||
if (item) {
|
||||
file->set_text(item->get_text(0));
|
||||
file->emit_signal("text_submitted", file->get_text());
|
||||
file->emit_signal(SceneStringName(text_submitted), file->get_text());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1652,10 +1652,10 @@ FileDialog::FileDialog() {
|
|||
tree->connect("cell_selected", callable_mp(this, &FileDialog::_tree_selected), CONNECT_DEFERRED);
|
||||
tree->connect("item_activated", callable_mp(this, &FileDialog::_tree_item_activated));
|
||||
tree->connect("nothing_selected", callable_mp(this, &FileDialog::deselect_all));
|
||||
dir->connect("text_submitted", callable_mp(this, &FileDialog::_dir_submitted));
|
||||
dir->connect(SceneStringName(text_submitted), callable_mp(this, &FileDialog::_dir_submitted));
|
||||
filename_filter->connect(SceneStringName(text_changed), callable_mp(this, &FileDialog::_filename_filter_changed).unbind(1));
|
||||
filename_filter->connect("text_submitted", callable_mp(this, &FileDialog::_filename_filter_selected).unbind(1));
|
||||
file->connect("text_submitted", callable_mp(this, &FileDialog::_file_submitted));
|
||||
filename_filter->connect(SceneStringName(text_submitted), callable_mp(this, &FileDialog::_filename_filter_selected).unbind(1));
|
||||
file->connect(SceneStringName(text_submitted), callable_mp(this, &FileDialog::_file_submitted));
|
||||
filter->connect(SceneStringName(item_selected), callable_mp(this, &FileDialog::_filter_selected));
|
||||
|
||||
confirm_save = memnew(ConfirmationDialog);
|
||||
|
|
|
@ -744,7 +744,7 @@ void LineEdit::gui_input(const Ref<InputEvent> &p_event) {
|
|||
|
||||
// Default is ENTER and KP_ENTER. Cannot use ui_accept as default includes SPACE.
|
||||
if (k->is_action_pressed("ui_text_submit")) {
|
||||
emit_signal(SNAME("text_submitted"), text);
|
||||
emit_signal(SceneStringName(text_submitted), text);
|
||||
if (DisplayServer::get_singleton()->has_feature(DisplayServer::FEATURE_VIRTUAL_KEYBOARD) && virtual_keyboard_enabled) {
|
||||
DisplayServer::get_singleton()->virtual_keyboard_hide();
|
||||
}
|
||||
|
|
|
@ -625,7 +625,7 @@ SpinBox::SpinBox() {
|
|||
line_edit->set_mouse_filter(MOUSE_FILTER_PASS);
|
||||
line_edit->set_horizontal_alignment(HORIZONTAL_ALIGNMENT_LEFT);
|
||||
|
||||
line_edit->connect("text_submitted", callable_mp(this, &SpinBox::_text_submitted), CONNECT_DEFERRED);
|
||||
line_edit->connect(SceneStringName(text_submitted), callable_mp(this, &SpinBox::_text_submitted), CONNECT_DEFERRED);
|
||||
line_edit->connect("editing_toggled", callable_mp(this, &SpinBox::_line_edit_editing_toggled), CONNECT_DEFERRED);
|
||||
line_edit->connect(SceneStringName(gui_input), callable_mp(this, &SpinBox::_line_edit_input));
|
||||
|
||||
|
|
|
@ -6076,7 +6076,7 @@ Tree::Tree() {
|
|||
|
||||
h_scroll->connect(SceneStringName(value_changed), callable_mp(this, &Tree::_scroll_moved));
|
||||
v_scroll->connect(SceneStringName(value_changed), callable_mp(this, &Tree::_scroll_moved));
|
||||
line_editor->connect("text_submitted", callable_mp(this, &Tree::_line_editor_submit));
|
||||
line_editor->connect(SceneStringName(text_submitted), callable_mp(this, &Tree::_line_editor_submit));
|
||||
text_editor->connect(SceneStringName(gui_input), callable_mp(this, &Tree::_text_editor_gui_input));
|
||||
popup_editor->connect("popup_hide", callable_mp(this, &Tree::_text_editor_popup_modal_close));
|
||||
popup_menu->connect(SceneStringName(id_pressed), callable_mp(this, &Tree::popup_select));
|
||||
|
|
|
@ -93,7 +93,7 @@ void SpriteFrames::clear(const StringName &p_anim) {
|
|||
|
||||
void SpriteFrames::clear_all() {
|
||||
animations.clear();
|
||||
add_animation("default");
|
||||
add_animation(SceneStringName(default_));
|
||||
}
|
||||
|
||||
void SpriteFrames::add_animation(const StringName &p_anim) {
|
||||
|
|
Loading…
Reference in a new issue