diff options
author | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-07-04 16:06:56 +0200 |
---|---|---|
committer | PouleyKetchoupp <pouleyketchoup@gmail.com> | 2020-07-04 16:08:09 +0200 |
commit | 759fef5401f7898a12cb5efcc50f7ed572e3a3ed (patch) | |
tree | 7cbf530564eebe409c8847c452f422aaa9b0e9e5 | |
parent | 0a8dbe7f75f2999e0f73af83dda3510c965f2b94 (diff) |
Fix crash on project files import in EditorFileSystem
Fixes #40017
-rw-r--r-- | editor/editor_file_system.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index 9ca3d387d9..e367ed4989 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -1107,7 +1107,7 @@ void EditorFileSystem::_notification(int p_what) { _queue_update_script_classes(); first_scan = false; } - } else if (!scanning) { + } else if (!scanning && thread) { set_process(false); if (filesystem) { |