You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
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