Merge pull request #94980 from Calinou/editor-doc-cache-make-version-specific

Split editor documentation cache by minor version
This commit is contained in:
Rémi Verschelde 2024-07-31 17:31:21 +02:00 committed by GitHub
commit 540c05e141
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2856,7 +2856,7 @@ void EditorHelp::_compute_doc_version_hash() {
}
String EditorHelp::get_cache_full_path() {
return EditorPaths::get_singleton()->get_cache_dir().path_join("editor_doc_cache.res");
return EditorPaths::get_singleton()->get_cache_dir().path_join(vformat("editor_doc_cache-%d.%d.res", VERSION_MAJOR, VERSION_MINOR));
}
void EditorHelp::load_xml_buffer(const uint8_t *p_buffer, int p_size) {