feat: updated engine version to 4.4-rc1

This commit is contained in:
Sara 2025-02-23 14:38:14 +01:00
parent ee00efde1f
commit 21ba8e33af
5459 changed files with 1128836 additions and 198305 deletions

View file

@ -48,10 +48,10 @@
void SceneCreateDialog::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_THEME_CHANGED: {
select_node_button->set_icon(get_editor_theme_icon(SNAME("ClassList")));
node_type_2d->set_icon(get_editor_theme_icon(SNAME("Node2D")));
node_type_3d->set_icon(get_editor_theme_icon(SNAME("Node3D")));
node_type_gui->set_icon(get_editor_theme_icon(SNAME("Control")));
select_node_button->set_button_icon(get_editor_theme_icon(SNAME("ClassList")));
node_type_2d->set_button_icon(get_editor_theme_icon(SNAME("Node2D")));
node_type_3d->set_button_icon(get_editor_theme_icon(SNAME("Node3D")));
node_type_gui->set_button_icon(get_editor_theme_icon(SNAME("Control")));
node_type_other->add_theme_icon_override(SNAME("icon"), get_editor_theme_icon(SNAME("Node")));
} break;
@ -121,9 +121,9 @@ void SceneCreateDialog::update_dialog() {
const StringName root_type_name = StringName(other_type_display->get_text());
if (has_theme_icon(root_type_name, EditorStringName(EditorIcons))) {
node_type_other->set_icon(get_editor_theme_icon(root_type_name));
node_type_other->set_button_icon(get_editor_theme_icon(root_type_name));
} else {
node_type_other->set_icon(nullptr);
node_type_other->set_button_icon(nullptr);
}
root_name = root_name_edit->get_text().strip_edges();
@ -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);