Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Core: Fix doctool when passing `--quiet`

Thaddeus Crews16271e271598
diff --git a/core/core_bind.cpp b/core/core_bind.cpp
index 72a57476c74..3872b9dbd58 100644
--- a/core/core_bind.cpp
+++ b/core/core_bind.cpp
@@ -2169,6 +2169,10 @@ void Engine::_bind_methods() {
ADD_PROPERTY(PropertyInfo(Variant::INT, "max_fps"), "set_max_fps", "get_max_fps");
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "time_scale"), "set_time_scale", "get_time_scale");
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "physics_jitter_fix"), "set_physics_jitter_fix", "get_physics_jitter_fix");
+
+ // Those default values need to be specified for the docs generator,
+ // to avoid using values from a `--quiet` run.
+ ADD_PROPERTY_DEFAULT("print_to_stdout", true);
}
////// EngineDebugger //////