Merge pull request #49819 from nekomatata/fix-process-mode-inherit
This commit is contained in:
commit
583eaa9869
2 changed files with 12 additions and 6 deletions
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue