Browse Source

Merge pull request #73812 from bruvzg/log-mt

[Editor] Enable multithread processing for the editor log.
Rémi Verschelde 2 years ago
parent
commit
c238dea782
1 changed files with 1 additions and 0 deletions
  1. 1 0
      editor/editor_log.cpp

+ 1 - 0
editor/editor_log.cpp

@@ -389,6 +389,7 @@ EditorLog::EditorLog() {
 
 
 	// Log - Rich Text Label.
 	// Log - Rich Text Label.
 	log = memnew(RichTextLabel);
 	log = memnew(RichTextLabel);
+	log->set_threaded(true);
 	log->set_use_bbcode(true);
 	log->set_use_bbcode(true);
 	log->set_scroll_follow(true);
 	log->set_scroll_follow(true);
 	log->set_selection_enabled(true);
 	log->set_selection_enabled(true);