ソースを参照

Fix crash on project files import in EditorFileSystem

Fixes #40017
PouleyKetchoupp 5 年 前
コミット
759fef5401
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) {