summaryrefslogtreecommitdiff
path: root/main/main.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-13 16:21:45 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-08-19 01:03:12 +0200
commitfd69604bd9dc743494a7818f25f384cc7f521b33 (patch)
tree1235c83520faa5b29eba8484b941580f35a03cb5 /main/main.cpp
parentff2cb35b90f5661d1bb5fb00fa657a9539449be0 (diff)
Adds editor_hint to Engine class
Diffstat (limited to 'main/main.cpp')
-rw-r--r--main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 9376d83204..131c7bc62f 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -660,6 +660,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
}
if (editor) {
+ Engine::get_singleton()->set_editor_hint(true);
main_args.push_back("-editor");
init_maximized = true;
use_custom_res = false;