1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-20 14:45:44 +00:00

Save project metadata less often

This commit is contained in:
kobewi
2025-10-26 21:41:00 +01:00
parent 0fdb93cde6
commit 2c14fc7d24
3 changed files with 15 additions and 3 deletions

View File

@@ -900,6 +900,7 @@ void EditorNode::_notification(int p_what) {
}
EditorHelp::save_script_doc_cache();
editor_data.save_editor_external_data();
EditorSettings::get_singleton()->save_project_metadata();
FileAccess::set_file_close_fail_notify_callback(nullptr);
log->deinit(); // Do not get messages anymore.
editor_data.clear_edited_scenes();
@@ -2118,6 +2119,7 @@ int EditorNode::_save_external_resources(bool p_also_save_external_data) {
}
}
EditorSettings::get_singleton()->save_project_metadata();
EditorUndoRedoManager::get_singleton()->set_history_as_saved(EditorUndoRedoManager::GLOBAL_HISTORY);
_update_unsaved_cache();