aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/editor_run.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-05 19:41:36 -0300
committerJuan Linietsky2017-01-05 19:41:36 -0300
commit99ceddd11ef652a3b8e6bf5d09dcc519d957ce14 (patch)
tree4c3daa35be5b08a27829f98cea6cf8598932046e /tools/editor/editor_run.cpp
parent495d059a744b268b0355d0cbfbb9ef30fec865e2 (diff)
downloadgodot-99ceddd11ef652a3b8e6bf5d09dcc519d957ce14.tar.gz
godot-99ceddd11ef652a3b8e6bf5d09dcc519d957ce14.tar.zst
godot-99ceddd11ef652a3b8e6bf5d09dcc519d957ce14.zip
Editor settings categories are now tidy and beautiful!
Diffstat (limited to '')
-rw-r--r--tools/editor/editor_run.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/editor/editor_run.cpp b/tools/editor/editor_run.cpp
index 2a0212f29..7d79412b3 100644
--- a/tools/editor/editor_run.cpp
+++ b/tools/editor/editor_run.cpp
@@ -63,7 +63,7 @@ Error EditorRun::run(const String& p_scene,const String p_custom_args,const List
args.push_back("-debugnav");
}
- int screen = EditorSettings::get_singleton()->get("game_window_placement/screen");
+ int screen = EditorSettings::get_singleton()->get("run/window_placement/screen");
if (screen==0) {
screen=OS::get_singleton()->get_current_screen();
@@ -90,7 +90,7 @@ Error EditorRun::run(const String& p_scene,const String p_custom_args,const List
}
- int window_placement=EditorSettings::get_singleton()->get("game_window_placement/rect");
+ int window_placement=EditorSettings::get_singleton()->get("run/window_placement/rect");
switch(window_placement) {
case 0: { // default
@@ -104,7 +104,7 @@ Error EditorRun::run(const String& p_scene,const String p_custom_args,const List
args.push_back(itos(pos.x)+"x"+itos(pos.y));
} break;
case 2: { // custom pos
- Vector2 pos = EditorSettings::get_singleton()->get("game_window_placement/rect_custom_position");
+ Vector2 pos = EditorSettings::get_singleton()->get("run/window_placement/rect_custom_position");
pos+=screen_rect.pos;
args.push_back("-p");
args.push_back(itos(pos.x)+"x"+itos(pos.y));