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

Merge pull request #10319 from neikeq/pr-engine-editor-hint

Adds Engine::is_editor_hint() method
This commit is contained in:
Juan Linietsky
2017-08-20 12:55:46 -03:00
committed by GitHub
52 changed files with 167 additions and 114 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;