summaryrefslogtreecommitdiffstats
path: root/editor/editor_paths.cpp
diff options
context:
space:
mode:
authorSpartan322 <Megacake1234@gmail.com>2024-10-14 02:57:59 -0400
committerSpartan322 <Megacake1234@gmail.com>2024-10-14 02:57:59 -0400
commit22d604c80d9ffd7ad72b06458a2e8e72ee5737e3 (patch)
tree176614fa17d6a68691b5f27f8e5f7d9b4dd17729 /editor/editor_paths.cpp
parent83d65738b06986e5aa0943cae01e357133e04a75 (diff)
parent92e51fca7247c932f95a1662aefc28aca96e8de6 (diff)
downloadredot-engine-22d604c80d9ffd7ad72b06458a2e8e72ee5737e3.tar.gz
Merge commit godotengine@92e51fca7247c932f95a1662aefc28aca96e8de6
Diffstat (limited to 'editor/editor_paths.cpp')
-rw-r--r--editor/editor_paths.cpp16
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.