Fix unused variable warning.

This commit is contained in:
Relintai 2023-06-05 22:10:39 +02:00
parent 03944c456c
commit bfcf461cb9

View File

@ -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<Vector<Vector2>> &traversable_outlines = p_source_geometry_data->_get_traversable_outlines();
const Vector<Vector<Vector2>> &obstruction_outlines = p_source_geometry_data->_get_obstruction_outlines();
//const Vector<Vector<Vector2>> &traversable_outlines = p_source_geometry_data->_get_traversable_outlines();
//const Vector<Vector<Vector2>> &obstruction_outlines = p_source_geometry_data->_get_obstruction_outlines();
// rewrite this to use clipper 1
#ifdef CLIPPER_ENABLED