Browse Source

Merge pull request #78614 from RandomShaper/disable_doc_cache

Disable doc cache temporarily for pre-RC stabilization
Rémi Verschelde 2 years ago
parent
commit
46b2619223
1 changed files with 3 additions and 0 deletions
  1. 3 0
      editor/editor_help.cpp

+ 3 - 0
editor/editor_help.cpp

@@ -2309,6 +2309,9 @@ void EditorHelp::_gen_doc_thread(void *p_udata) {
 static bool doc_gen_use_threads = true;
 static bool doc_gen_use_threads = true;
 
 
 void EditorHelp::generate_doc(bool p_use_cache) {
 void EditorHelp::generate_doc(bool p_use_cache) {
+	// Temporarily disable use of cache for pre-RC stabilization.
+	p_use_cache = false;
+
 	OS::get_singleton()->benchmark_begin_measure("EditorHelp::generate_doc");
 	OS::get_singleton()->benchmark_begin_measure("EditorHelp::generate_doc");
 	if (doc_gen_use_threads) {
 	if (doc_gen_use_threads) {
 		// In case not the first attempt.
 		// In case not the first attempt.