Merge pull request #75901 from reduz/refactor-node-processing

Refactor Node Processing to allow Scene Multithreading
This commit is contained in:
Rémi Verschelde 2023-05-10 12:46:44 +02:00
commit 5271186f2f
No known key found for this signature in database
GPG key ID: C3336907360768E1
18 changed files with 1155 additions and 186 deletions

View file

@ -637,6 +637,8 @@ void EditorNode::_notification(int p_what) {
} break;
case NOTIFICATION_ENTER_TREE: {
get_tree()->set_disable_node_threading(true); // No node threading while running editor.
Engine::get_singleton()->set_editor_hint(true);
Window *window = get_window();