mirror of
https://github.com/godotengine/godot.git
synced 2025-01-12 20:22:49 +08:00
Merge pull request #75579 from smix8/make_navigation_projectsettings_basic_4.x
Make navigation ProjectSettings always visible
This commit is contained in:
commit
4f30ca3b0f
@ -144,13 +144,13 @@ NavigationServer3D::NavigationServer3D() {
|
||||
ERR_FAIL_COND(singleton != nullptr);
|
||||
singleton = this;
|
||||
|
||||
GLOBAL_DEF("navigation/2d/default_cell_size", 1);
|
||||
GLOBAL_DEF("navigation/2d/default_edge_connection_margin", 1);
|
||||
GLOBAL_DEF("navigation/2d/default_link_connection_radius", 4);
|
||||
GLOBAL_DEF_BASIC("navigation/2d/default_cell_size", 1);
|
||||
GLOBAL_DEF_BASIC("navigation/2d/default_edge_connection_margin", 1);
|
||||
GLOBAL_DEF_BASIC("navigation/2d/default_link_connection_radius", 4);
|
||||
|
||||
GLOBAL_DEF("navigation/3d/default_cell_size", 0.25);
|
||||
GLOBAL_DEF("navigation/3d/default_edge_connection_margin", 0.25);
|
||||
GLOBAL_DEF("navigation/3d/default_link_connection_radius", 1.0);
|
||||
GLOBAL_DEF_BASIC("navigation/3d/default_cell_size", 0.25);
|
||||
GLOBAL_DEF_BASIC("navigation/3d/default_edge_connection_margin", 0.25);
|
||||
GLOBAL_DEF_BASIC("navigation/3d/default_link_connection_radius", 1.0);
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
debug_navigation_edge_connection_color = GLOBAL_DEF("debug/shapes/navigation/edge_connection_color", Color(1.0, 0.0, 1.0, 1.0));
|
||||
|
Loading…
Reference in New Issue
Block a user