Преглед изворни кода

Merge pull request #40119 from nekomatata/fix-startup-import-crash

Fix crash on project files import in EditorFileSystem
Rémi Verschelde пре 5 година
родитељ
комит
854e9d48ed
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      editor/editor_file_system.cpp

+ 1 - 1
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) {