Merge pull request #52711 from m4gr3d/provide_getter_for_project_data_dir_master
This commit is contained in:
@ -233,8 +233,9 @@ void FindInFiles::_scan_dir(String path, PackedStringArray &out_folders) {
|
||||
break;
|
||||
}
|
||||
|
||||
// Ignore special dirs (such as .git and .import)
|
||||
if (file == "." || file == ".." || file.begins_with(".")) {
|
||||
// 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) {
|
||||
continue;
|
||||
}
|
||||
if (dir->current_is_hidden()) {
|
||||
|
||||
Reference in New Issue
Block a user