mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-22 09:07:17 +01:00
Remove unused code.
This commit is contained in:
parent
911257b606
commit
829aeda5b1
@ -6822,15 +6822,6 @@ EditorNode::EditorNode() {
|
|||||||
remove_android_build_template->connect("confirmed", this, "_menu_option", varray(FILE_EXPLORE_ANDROID_BUILD_TEMPLATES));
|
remove_android_build_template->connect("confirmed", this, "_menu_option", varray(FILE_EXPLORE_ANDROID_BUILD_TEMPLATES));
|
||||||
gui_base->add_child(remove_android_build_template);
|
gui_base->add_child(remove_android_build_template);
|
||||||
|
|
||||||
file_templates = memnew(EditorFileDialog);
|
|
||||||
file_templates->set_title(TTR("Import Templates From ZIP File"));
|
|
||||||
|
|
||||||
gui_base->add_child(file_templates);
|
|
||||||
file_templates->set_mode(EditorFileDialog::MODE_OPEN_FILE);
|
|
||||||
file_templates->set_access(EditorFileDialog::ACCESS_FILESYSTEM);
|
|
||||||
file_templates->clear_filters();
|
|
||||||
file_templates->add_filter("*.tpz ; " + TTR("Template Package"));
|
|
||||||
|
|
||||||
file = memnew(EditorFileDialog);
|
file = memnew(EditorFileDialog);
|
||||||
gui_base->add_child(file);
|
gui_base->add_child(file);
|
||||||
file->set_current_dir("res://");
|
file->set_current_dir("res://");
|
||||||
@ -6854,7 +6845,6 @@ EditorNode::EditorNode() {
|
|||||||
settings_menu->get_popup()->connect("id_pressed", this, "_menu_option");
|
settings_menu->get_popup()->connect("id_pressed", this, "_menu_option");
|
||||||
|
|
||||||
file->connect("file_selected", this, "_dialog_action");
|
file->connect("file_selected", this, "_dialog_action");
|
||||||
file_templates->connect("file_selected", this, "_dialog_action");
|
|
||||||
|
|
||||||
preview_gen = memnew(AudioStreamPreviewGenerator);
|
preview_gen = memnew(AudioStreamPreviewGenerator);
|
||||||
add_child(preview_gen);
|
add_child(preview_gen);
|
||||||
|
@ -607,7 +607,6 @@ private:
|
|||||||
ProjectSettingsEditor *project_settings;
|
ProjectSettingsEditor *project_settings;
|
||||||
EditorFileDialog *file;
|
EditorFileDialog *file;
|
||||||
ExportTemplateManager *export_template_manager;
|
ExportTemplateManager *export_template_manager;
|
||||||
EditorFileDialog *file_templates;
|
|
||||||
EditorFileDialog *file_script;
|
EditorFileDialog *file_script;
|
||||||
EditorFileDialog *file_android_build_source;
|
EditorFileDialog *file_android_build_source;
|
||||||
String current_path;
|
String current_path;
|
||||||
|
Loading…
Reference in New Issue
Block a user