1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Capitalize global navigation constants

This commit is contained in:
Aaron Franke
2025-04-24 09:04:50 -07:00
parent 1a1cc0f7b0
commit 783728fcb4
13 changed files with 37 additions and 37 deletions

View File

@@ -1251,7 +1251,7 @@ void TileMapLayer::_navigation_update(bool p_force_cleanup) {
// Create a dedicated map for each layer.
RID new_layer_map = ns->map_create();
// Set the default NavigationPolygon cell_size on the new map as a mismatch causes an error.
ns->map_set_cell_size(new_layer_map, NavigationDefaults2D::navmesh_cell_size);
ns->map_set_cell_size(new_layer_map, NavigationDefaults2D::NAV_MESH_CELL_SIZE);
ns->map_set_active(new_layer_map, true);
navigation_map_override = new_layer_map;
}