You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Allow threads to mark themselves as safe for nodes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user