mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Update the filtering logic to properly handle directories with .gdignore files.
This commit is contained in:
@@ -471,6 +471,10 @@ void EditorExportPlatform::_edit_files_with_filter(DirAccess *da, const Vector<S
|
||||
String dir = dirs[i];
|
||||
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("..");
|
||||
|
||||
Reference in New Issue
Block a user