Make navigation ProjectSettings always visible

Makes navigation ProjectSettings always visible.
This commit is contained in:
smix8 2023-04-02 01:17:10 +02:00
parent 21d080ead4
commit cd62b5b499

View File

@ -144,13 +144,13 @@ NavigationServer3D::NavigationServer3D() {
ERR_FAIL_COND(singleton != nullptr); ERR_FAIL_COND(singleton != nullptr);
singleton = this; singleton = this;
GLOBAL_DEF("navigation/2d/default_cell_size", 1); GLOBAL_DEF_BASIC("navigation/2d/default_cell_size", 1);
GLOBAL_DEF("navigation/2d/default_edge_connection_margin", 1); GLOBAL_DEF_BASIC("navigation/2d/default_edge_connection_margin", 1);
GLOBAL_DEF("navigation/2d/default_link_connection_radius", 4); GLOBAL_DEF_BASIC("navigation/2d/default_link_connection_radius", 4);
GLOBAL_DEF("navigation/3d/default_cell_size", 0.25); GLOBAL_DEF_BASIC("navigation/3d/default_cell_size", 0.25);
GLOBAL_DEF("navigation/3d/default_edge_connection_margin", 0.25); GLOBAL_DEF_BASIC("navigation/3d/default_edge_connection_margin", 0.25);
GLOBAL_DEF("navigation/3d/default_link_connection_radius", 1.0); GLOBAL_DEF_BASIC("navigation/3d/default_link_connection_radius", 1.0);
#ifdef DEBUG_ENABLED #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)); debug_navigation_edge_connection_color = GLOBAL_DEF("debug/shapes/navigation/edge_connection_color", Color(1.0, 0.0, 1.0, 1.0));