Merge pull request #75579 from smix8/make_navigation_projectsettings_basic_4.x

Make navigation ProjectSettings always visible
This commit is contained in:
Rémi Verschelde 2023-04-05 12:03:19 +02:00
commit 4f30ca3b0f
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -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));