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

Merge pull request #38900 from bruvzg/docs_ignore_os_spec_def_vals

Docs: Ignore OS specific values (constants, project settings, properties)
This commit is contained in:
Rémi Verschelde
2020-07-25 18:54:25 +02:00
committed by GitHub
12 changed files with 98 additions and 18 deletions

View File

@@ -781,6 +781,7 @@ void _OS::_bind_methods() {
// Those default values need to be specified for the docs generator,
// to avoid using values from the documentation writer's own OS instance.
ADD_PROPERTY_DEFAULT("tablet_driver", "");
ADD_PROPERTY_DEFAULT("exit_code", 0);
ADD_PROPERTY_DEFAULT("low_processor_usage_mode", false);
ADD_PROPERTY_DEFAULT("low_processor_usage_mode_sleep_usec", 6900);