summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-04-20 12:29:34 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-04-20 12:51:10 +0200
commit0ef8bcac4d05a998e94d1a8b3db4f47401e5d730 (patch)
tree649b15ae7656929944a3b8accbe7ce4cf678ae58 /main
parent088c2a087029901e5657089a6f2531ce6c015fe5 (diff)
DocData: Skip unexposed classes
Properly expose classes that we actually want accessible.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp
index c625a9cb36..4897e1f20e 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1162,9 +1162,11 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
ProjectSettings::get_singleton()->set_custom_property_info("debug/settings/fps/force_fps", PropertyInfo(Variant::INT, "debug/settings/fps/force_fps", PROPERTY_HINT_RANGE, "0,120,1,or_greater"));
GLOBAL_DEF("debug/settings/stdout/print_fps", false);
+ GLOBAL_DEF("debug/settings/stdout/verbose_stdout", false);
- if (!OS::get_singleton()->_verbose_stdout) //overridden
- OS::get_singleton()->_verbose_stdout = GLOBAL_DEF("debug/settings/stdout/verbose_stdout", false);
+ if (!OS::get_singleton()->_verbose_stdout) { // Not manually overridden.
+ OS::get_singleton()->_verbose_stdout = GLOBAL_GET("debug/settings/stdout/verbose_stdout");
+ }
if (frame_delay == 0) {
frame_delay = GLOBAL_DEF("application/run/frame_delay_msec", 0);