diff options
| author | Juan Linietsky | 2017-07-17 21:05:38 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-07-17 22:18:58 -0300 |
| commit | bbada82f8088e18b663f087484fcbb662dd76a5a (patch) | |
| tree | 5ea77e84771dd4502cef44642001a689fab3cd87 /editor/editor_run.cpp | |
| parent | f36cd77feb9790847c6123eccfa18be74fc89b32 (diff) | |
| download | godot-bbada82f8088e18b663f087484fcbb662dd76a5a.tar.gz godot-bbada82f8088e18b663f087484fcbb662dd76a5a.tar.zst godot-bbada82f8088e18b663f087484fcbb662dd76a5a.zip | |
-Reorganized all properties of project settings (Sorry, Again).
(Lot's of bloat accumulated, so it was time for clean up.)
-Made EditorSettings and ProjectSettings search more useful (search in sections too)
Diffstat (limited to 'editor/editor_run.cpp')
| -rw-r--r-- | editor/editor_run.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/editor_run.cpp b/editor/editor_run.cpp index a8106b4ee..8d01484b3 100644 --- a/editor/editor_run.cpp +++ b/editor/editor_run.cpp @@ -79,12 +79,12 @@ Error EditorRun::run(const String &p_scene, const String p_custom_args, const Li Size2 desired_size; - desired_size.x = GlobalConfig::get_singleton()->get("display/window/width"); - desired_size.y = GlobalConfig::get_singleton()->get("display/window/height"); + desired_size.x = GlobalConfig::get_singleton()->get("display/window/size/width"); + desired_size.y = GlobalConfig::get_singleton()->get("display/window/size/height"); Size2 test_size; - test_size.x = GlobalConfig::get_singleton()->get("display/window/test_width"); - test_size.y = GlobalConfig::get_singleton()->get("display/window/test_height"); + test_size.x = GlobalConfig::get_singleton()->get("display/window/size/test_width"); + test_size.y = GlobalConfig::get_singleton()->get("display/window/size/test_height"); if (test_size.x > 0 && test_size.y > 0) { desired_size = test_size; |
