Explorar o código

Merge pull request #47385 from KoBeWi/open_then_save

Save project after opening
Rémi Verschelde %!s(int64=4) %!d(string=hai) anos
pai
achega
c9dece3b86
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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;