diff options
author | Spartan322 <Megacake1234@gmail.com> | 2024-10-14 02:57:59 -0400 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-10-14 02:57:59 -0400 |
commit | 22d604c80d9ffd7ad72b06458a2e8e72ee5737e3 (patch) | |
tree | 176614fa17d6a68691b5f27f8e5f7d9b4dd17729 /editor/editor_paths.cpp | |
parent | 83d65738b06986e5aa0943cae01e357133e04a75 (diff) | |
parent | 92e51fca7247c932f95a1662aefc28aca96e8de6 (diff) | |
download | redot-engine-22d604c80d9ffd7ad72b06458a2e8e72ee5737e3.tar.gz |
Merge commit godotengine@92e51fca7247c932f95a1662aefc28aca96e8de6
Diffstat (limited to 'editor/editor_paths.cpp')
-rw-r--r-- | editor/editor_paths.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/editor/editor_paths.cpp b/editor/editor_paths.cpp index 372114e44d..b3ca9039be 100644 --- a/editor/editor_paths.cpp +++ b/editor/editor_paths.cpp @@ -259,22 +259,6 @@ EditorPaths::EditorPaths() { } } - // Check that `.editorconfig` file exists. - String project_editorconfig_path = "res://.editorconfig"; - if (!FileAccess::exists(project_editorconfig_path)) { - Ref<FileAccess> f = FileAccess::open(project_editorconfig_path, FileAccess::WRITE); - if (f.is_valid()) { - f->store_line("root = true"); - f->store_line(""); - f->store_line("[*]"); - f->store_line("charset = utf-8"); - f->close(); - } else { - ERR_PRINT("Failed to create file " + project_editorconfig_path.quote() + "."); - } - FileAccess::set_hidden_attribute(project_editorconfig_path, true); - } - Engine::get_singleton()->set_shader_cache_path(project_data_dir); // Editor metadata dir. |