diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-10-09 10:35:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-09 10:35:27 +0200 |
commit | 1fd440f5afb4343411c4cb412569edd198827db6 (patch) | |
tree | a4691699cbeac22bf74872e44e2ce7f9817e4c79 /editor | |
parent | 1f192c43b00216482d6eba7e04c2d081c83acf4e (diff) | |
parent | 70cf3cbd60a9a852ff1cdf0dd8401d2b111f6f03 (diff) |
Merge pull request #53570 from zaevi/fix_gdignore
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_file_system.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index 953989aadd..6fef65c92d 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -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]; |