Merge pull request #77234 from RandomShaper/fix_rtl_mt

Allow threads to mark themselves as safe for nodes
This commit is contained in:
Rémi Verschelde
2023-05-24 08:42:59 +02:00
7 changed files with 62 additions and 4 deletions

View File

@@ -59,6 +59,7 @@ void TilesEditorPlugin::_pattern_preview_done() {
void TilesEditorPlugin::_thread_func(void *ud) {
TilesEditorPlugin *te = static_cast<TilesEditorPlugin *>(ud);
set_current_thread_safe_for_nodes(true);
te->_thread();
}