Skip to content

Commit 540c05e

Browse files
authored
Merge pull request #94980 from Calinou/editor-doc-cache-make-version-specific
Split editor documentation cache by minor version
2 parents db414b6 + 789f313 commit 540c05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/editor_help.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2856,7 +2856,7 @@ void EditorHelp::_compute_doc_version_hash() {
28562856
}
28572857

28582858
String EditorHelp::get_cache_full_path() {
2859-
return EditorPaths::get_singleton()->get_cache_dir().path_join("editor_doc_cache.res");
2859+
return EditorPaths::get_singleton()->get_cache_dir().path_join(vformat("editor_doc_cache-%d.%d.res", VERSION_MAJOR, VERSION_MINOR));
28602860
}
28612861

28622862
void EditorHelp::load_xml_buffer(const uint8_t *p_buffer, int p_size) {

0 commit comments

Comments
 (0)