Adds editor_hint to Engine class
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user