diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-31 10:46:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-31 10:46:47 +0100 |
commit | 22d4caa4bb151c635927b500d72c372d153b98a4 (patch) | |
tree | df9a0af351b02eb99979169724fe848aed496bef | |
parent | a5d5579105d20ebf077f3956dbab464bddb172a8 (diff) | |
parent | 1e2118ea22a67db6c5acdcbc9989250ca13c5836 (diff) |
Merge pull request #35418 from Calinou/project-manager-viewport-usage-2d
Use a cheaper viewport usage mode in the project manager
-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 88d4dcc1fc..3cc809b813 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1900,6 +1900,8 @@ bool Main::start() { ProgressDialog *progress_dialog = memnew(ProgressDialog); pmanager->add_child(progress_dialog); sml->get_root()->add_child(pmanager); + // Speed up rendering slightly by disabling 3D features while in the project manager. + sml->get_root()->set_usage(Viewport::USAGE_2D_NO_SAMPLING); OS::get_singleton()->set_context(OS::CONTEXT_PROJECTMAN); project_manager = true; } |