feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -73,6 +73,7 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie, const V
|
|||
bool debug_navigation = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_navigation", false);
|
||||
bool debug_avoidance = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_avoidance", false);
|
||||
bool debug_canvas_redraw = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_canvas_redraw", false);
|
||||
bool debug_mute_audio = EditorDebuggerNode::get_singleton()->get_debug_mute_audio();
|
||||
|
||||
if (debug_collisions) {
|
||||
args.push_back("--debug-collisions");
|
||||
|
|
@ -94,6 +95,10 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie, const V
|
|||
args.push_back("--debug-canvas-item-redraw");
|
||||
}
|
||||
|
||||
if (debug_mute_audio) {
|
||||
args.push_back("--debug-mute-audio");
|
||||
}
|
||||
|
||||
if (p_write_movie != "") {
|
||||
args.push_back("--write-movie");
|
||||
args.push_back(p_write_movie);
|
||||
|
|
@ -136,6 +141,10 @@ Error EditorRun::run(const String &p_scene, const String &p_write_movie, const V
|
|||
args.push_back("--skip-breakpoints");
|
||||
}
|
||||
|
||||
if (EditorDebuggerNode::get_singleton()->is_ignore_error_breaks()) {
|
||||
args.push_back("--ignore-error-breaks");
|
||||
}
|
||||
|
||||
if (!p_scene.is_empty()) {
|
||||
args.push_back(p_scene);
|
||||
}
|
||||
|
|
@ -286,9 +295,11 @@ EditorRun::WindowPlacement EditorRun::get_window_placement() {
|
|||
} break;
|
||||
case 3: { // force maximized
|
||||
placement.force_maximized = true;
|
||||
placement.position = (screen_rect.position) + ((screen_rect.size - placement.size) / 2).floor();
|
||||
} break;
|
||||
case 4: { // force fullscreen
|
||||
placement.force_fullscreen = true;
|
||||
placement.position = (screen_rect.position) + ((screen_rect.size - placement.size) / 2).floor();
|
||||
} break;
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue