1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Make the project data directory customizable.

This commit is contained in:
ne0fhyk
2021-09-10 08:32:29 -07:00
parent f930d54140
commit 3e44a6375e
7 changed files with 37 additions and 12 deletions

View File

@@ -2163,7 +2163,7 @@ Error EditorFileSystem::_resource_import(const String &p_path) {
}
bool EditorFileSystem::_should_skip_directory(const String &p_path) {
if (p_path == ProjectSettings::get_singleton()->get_project_data_path()) {
if (p_path.begins_with(ProjectSettings::get_singleton()->get_project_data_path())) {
return true;
}