1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

Keep debug & verbose options after loading project from project manager

This commit is contained in:
PouleyKetchoupp
2020-07-09 09:32:42 +02:00
parent d629b17291
commit b2d27214aa
4 changed files with 15 additions and 0 deletions

View File

@@ -836,6 +836,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
} else if (I->get() == "-d" || I->get() == "--debug") {
debug_uri = "local://";
OS::get_singleton()->_debug_stdout = true;
#if defined(DEBUG_ENABLED) && !defined(SERVER_ENABLED)
} else if (I->get() == "--debug-collisions") {
debug_collisions = true;