From bfcf461cb951f79e112582f365f163e89c19e89e Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 5 Jun 2023 22:10:39 +0200 Subject: [PATCH] Fix unused variable warning. --- .../pandemonium_navigation_mesh_generator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/navigation_mesh_generator/pandemonium_navigation_mesh_generator.cpp b/modules/navigation_mesh_generator/pandemonium_navigation_mesh_generator.cpp index e0ea01307..bb214319c 100644 --- a/modules/navigation_mesh_generator/pandemonium_navigation_mesh_generator.cpp +++ b/modules/navigation_mesh_generator/pandemonium_navigation_mesh_generator.cpp @@ -340,8 +340,8 @@ void PandemoniumNavigationMeshGenerator::_static_bake_2d_from_source_geometry_da ERR_FAIL_COND_MSG(!p_source_geometry_data.is_valid(), "Invalid source geometry data."); ERR_FAIL_COND_MSG(p_navigation_polygon->get_outline_count() == 0 && !p_source_geometry_data->has_data(), "NavigationMeshSourceGeometryData2D is empty. Parse source geometry first."); - const Vector> &traversable_outlines = p_source_geometry_data->_get_traversable_outlines(); - const Vector> &obstruction_outlines = p_source_geometry_data->_get_obstruction_outlines(); + //const Vector> &traversable_outlines = p_source_geometry_data->_get_traversable_outlines(); + //const Vector> &obstruction_outlines = p_source_geometry_data->_get_obstruction_outlines(); // rewrite this to use clipper 1 #ifdef CLIPPER_ENABLED