Make file system scan more robust

Previously, a change was missed if it happened while the scan was in progress and already past the affected location.

Also:
- Consider the scan changes thread on termination, in addition to the full scan one
- Add FS-reported hidden to the check for hidden by the editor file system
This commit is contained in:
Pedro J. Estébanez 2020-02-10 09:19:10 +01:00
parent 47f19cc776
commit 3017bdb7ce
2 changed files with 25 additions and 6 deletions

View file

@ -145,6 +145,7 @@ class EditorFileSystem : public Node {
bool scanning;
bool importing;
bool first_scan;
bool scan_changes_pending;
float scan_total;
String filesystem_settings_version_for_import;
bool revalidate_import_files;