1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Keep debug & verbose options after loading project from project manager

(cherry picked from commit b2d27214aa)
This commit is contained in:
PouleyKetchoupp
2020-07-09 09:32:42 +02:00
committed by Rémi Verschelde
parent 0246a1a276
commit fe0adc4f77
4 changed files with 16 additions and 0 deletions

View File

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