From cd62b5b4997a08761d4c57fc319b68ef596f5d60 Mon Sep 17 00:00:00 2001 From: smix8 <52464204+smix8@users.noreply.github.com> Date: Sun, 2 Apr 2023 01:17:10 +0200 Subject: [PATCH] Make navigation ProjectSettings always visible Makes navigation ProjectSettings always visible. --- servers/navigation_server_3d.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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));