You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Add Path2D/3D debug options
Add Path2D/3D debug options.
This commit is contained in:
@@ -59,11 +59,16 @@ Error EditorRun::run(const String &p_scene) {
|
||||
args.push_back(itos(OS::get_singleton()->get_process_id()));
|
||||
|
||||
bool debug_collisions = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_collisons", false);
|
||||
bool debug_paths = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_paths", false);
|
||||
bool debug_navigation = EditorSettings::get_singleton()->get_project_metadata("debug_options", "run_debug_navigation", false);
|
||||
if (debug_collisions) {
|
||||
args.push_back("--debug-collisions");
|
||||
}
|
||||
|
||||
if (debug_paths) {
|
||||
args.push_back("--debug-paths");
|
||||
}
|
||||
|
||||
if (debug_navigation) {
|
||||
args.push_back("--debug-navigation");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user