You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Make navmesh rasterization errors more lenient
Make navmesh rasterization on the navigation regions and map more lenient by starting out with a lower internal cell scale by default and changing the merge error to just warning that can be toggled.
This commit is contained in:
@@ -1733,6 +1733,14 @@ ProjectSettings::ProjectSettings() {
|
||||
GLOBAL_DEF("navigation/baking/thread_model/baking_use_multiple_threads", true);
|
||||
GLOBAL_DEF("navigation/baking/thread_model/baking_use_high_priority_threads", true);
|
||||
#endif // !defined(NAVIGATION_2D_DISABLED) || !defined(NAVIGATION_3D_DISABLED)
|
||||
#ifndef NAVIGATION_2D_DISABLED
|
||||
GLOBAL_DEF("navigation/2d/warnings/navmesh_edge_merge_errors", true);
|
||||
GLOBAL_DEF("navigation/2d/warnings/navmesh_cell_size_mismatch", true);
|
||||
#endif // NAVIGATION_2D_DISABLED
|
||||
#ifndef NAVIGATION_3D_DISABLED
|
||||
GLOBAL_DEF("navigation/3d/warnings/navmesh_edge_merge_errors", true);
|
||||
GLOBAL_DEF("navigation/3d/warnings/navmesh_cell_size_mismatch", true);
|
||||
#endif // NAVIGATION_3D_DISABLED
|
||||
|
||||
ProjectSettings::get_singleton()->add_hidden_prefix("input/");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user