diff --git a/servers/navigation_server_3d.cpp b/servers/navigation_server_3d.cpp index e5cc426708e..5438b90d99e 100644 --- a/servers/navigation_server_3d.cpp +++ b/servers/navigation_server_3d.cpp @@ -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));