mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Make the project data directory customizable.
This commit is contained in:
parent
f930d54140
commit
3e44a6375e
7 changed files with 37 additions and 12 deletions
|
@ -235,7 +235,7 @@ void FindInFiles::_scan_dir(String path, PackedStringArray &out_folders) {
|
|||
|
||||
// Ignore special dirs (such as .git and project data directory)
|
||||
String project_data_dir_name = ProjectSettings::get_singleton()->get_project_data_dir_name();
|
||||
if (file.begins_with(".") || file == project_data_dir_name) {
|
||||
if (file.begins_with(".") || file.begins_with(project_data_dir_name)) {
|
||||
continue;
|
||||
}
|
||||
if (dir->current_is_hidden()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue