1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Merge pull request #49819 from nekomatata/fix-process-mode-inherit

This commit is contained in:
Rémi Verschelde
2021-09-17 19:16:19 +02:00
committed by GitHub
2 changed files with 12 additions and 6 deletions

View File

@@ -1322,6 +1322,7 @@ SceneTree::SceneTree() {
// Create with mainloop.
root = memnew(Window);
root->set_process_mode(Node::PROCESS_MODE_PAUSABLE);
root->set_name("root");
#ifndef _3D_DISABLED
if (!root->get_world_3d().is_valid()) {