Merge pull request #77234 from RandomShaper/fix_rtl_mt
Allow threads to mark themselves as safe for nodes
This commit is contained in:
commit
adbdf9a86e
7 changed files with 62 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue