diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-16 11:06:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-16 11:06:46 +0100 |
commit | bef20f53cf633b5d6bef651f7e58453aaeef5a49 (patch) | |
tree | 1e4fcc8a206df99c0da9364208a76281cc17d1a0 | |
parent | 7791599d5bcfdbae0d2a96e5fc13d9021ec820be (diff) | |
parent | 27a6ab457b15e448147ab97ab6b23e835ac9e741 (diff) |
Merge pull request #54422 from ibrahn/project-manager-nophys
-rw-r--r-- | editor/project_manager.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 5c57c0d65c..7b942adb54 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -52,6 +52,7 @@ #include "scene/gui/texture_rect.h" #include "scene/main/window.h" #include "servers/display_server.h" +#include "servers/navigation_server_3d.h" static inline String get_project_key_from_path(const String &dir) { return dir.replace("/", "::"); @@ -2382,6 +2383,11 @@ ProjectManager::ProjectManager() { EditorSettings::create(); } + // Turn off some servers we aren't going to be using in the Project Manager. + NavigationServer3D::get_singleton()->set_active(false); + PhysicsServer3D::get_singleton()->set_active(false); + PhysicsServer2D::get_singleton()->set_active(false); + EditorSettings::get_singleton()->set_optimize_save(false); //just write settings as they came { |