Merge pull request #53570 from zaevi/fix_gdignore

This commit is contained in:
Rémi Verschelde 2021-10-09 10:35:27 +02:00 committed by GitHub
commit 1fd440f5af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1078,8 +1078,8 @@ void EditorFileSystem::_scan_fs_changes(EditorFileSystemDirectory *p_dir, const
}
for (int i = 0; i < p_dir->subdirs.size(); i++) {
if (updated_dir && !p_dir->subdirs[i]->verified) {
//this directory was removed, add action to remove it
if ((updated_dir && !p_dir->subdirs[i]->verified) || _should_skip_directory(p_dir->subdirs[i]->get_path())) {
//this directory was removed or ignored, add action to remove it
ItemAction ia;
ia.action = ItemAction::ACTION_DIR_REMOVE;
ia.dir = p_dir->subdirs[i];