فهرست منبع

Don't initialize editor when exiting

kobewi 6 ماه پیش
والد
کامیت
5d868a66c0
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

@@ -3409,6 +3409,7 @@ int EditorNode::_next_unsaved_scene(bool p_valid_filename, int p_start) {
 
 void EditorNode::_exit_editor(int p_exit_code) {
 	exiting = true;
+	waiting_for_first_scan = false;
 	resource_preview->stop(); // Stop early to avoid crashes.
 	_save_editor_layout();