diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-24 08:42:59 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-05-24 08:42:59 +0200 |
commit | adbdf9a86ef87f5c19d192e22095446c93ba26c3 (patch) | |
tree | b57f0850928253fab6fda6e6ce8eed2bffe68141 /editor | |
parent | f581f21dd61a8fb581b80d07755cdf60c95d146d (diff) | |
parent | e725b4b02b60c9e8590cf7bff068f65074947fe9 (diff) | |
download | redot-engine-adbdf9a86ef87f5c19d192e22095446c93ba26c3.tar.gz |
Merge pull request #77234 from RandomShaper/fix_rtl_mt
Allow threads to mark themselves as safe for nodes
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/tiles/tiles_editor_plugin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/tiles/tiles_editor_plugin.cpp b/editor/plugins/tiles/tiles_editor_plugin.cpp index 719de9dc81..0e9ff18355 100644 --- a/editor/plugins/tiles/tiles_editor_plugin.cpp +++ b/editor/plugins/tiles/tiles_editor_plugin.cpp @@ -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(); } |