Adds editor_hint to Engine class

This commit is contained in:
Ignacio Etcheverry
2017-08-13 16:21:45 +02:00
parent ff2cb35b90
commit fd69604bd9
7 changed files with 32 additions and 1 deletions

View File

@ -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;