Update the filtering logic to properly handle directories with .gdignore files.

This commit is contained in:
Fredia Huya-Kouadio
2021-02-21 21:34:27 -08:00
parent 757c151219
commit eda18fcc1f
4 changed files with 26 additions and 8 deletions

View File

@@ -507,6 +507,11 @@ void EditorExportPlatform::_edit_files_with_filter(DirAccess *da, const Vector<S
if (dir.begins_with(".")) {
continue;
}
if (EditorFileSystem::_should_skip_directory(cur_dir + dir)) {
continue;
}
da->change_dir(dir);
_edit_files_with_filter(da, p_filters, r_list, exclude);
da->change_dir("..");