Invalidate the DocCache when updating the xml docs

This commit is contained in:
RedworkDE
2023-05-28 16:52:46 +02:00
parent 28cca66d2c
commit 67e8c57f03
2 changed files with 2 additions and 1 deletions

View File

@@ -2258,7 +2258,7 @@ String EditorHelp::get_cache_full_path() {
static bool first_attempt = true;
static String _compute_doc_version_hash() {
return uitos(ClassDB::get_api_hash(ClassDB::API_CORE)) + "-" + uitos(ClassDB::get_api_hash(ClassDB::API_EDITOR));
return vformat("%d/%d/%s", ClassDB::get_api_hash(ClassDB::API_CORE), ClassDB::get_api_hash(ClassDB::API_EDITOR), _doc_data_hash);
}
void EditorHelp::_load_doc_thread(void *p_udata) {