diff options
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp index f8786f5aec..68c40a6f2b 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1321,6 +1321,7 @@ bool Main::start() { } } } + OS::get_singleton()->set_context(OS::CONTEXT_EDITOR); //editor_node->set_edited_scene(game); } else { @@ -1465,6 +1466,7 @@ bool Main::start() { ProjectManager *pmanager = memnew( ProjectManager ); sml->get_root()->add_child(pmanager); + OS::get_singleton()->set_context(OS::CONTEXT_PROJECTMAN); } #endif |