Browse Source

Merge pull request #47385 from KoBeWi/open_then_save

Save project after opening
Rémi Verschelde 4 năm trước cách đây
mục cha
commit
c9dece3b86
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      editor/editor_node.cpp

+ 3 - 0
editor/editor_node.cpp

@@ -592,6 +592,9 @@ void EditorNode::_notification(int p_what) {
 				_editor_select(EDITOR_3D);
 			}
 
+			// Save the project after opening to mark it as last modified.
+			ProjectSettings::get_singleton()->save();
+
 			/* DO NOT LOAD SCENES HERE, WAIT FOR FILE SCANNING AND REIMPORT TO COMPLETE */
 		} break;