1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

[Navigation] Add some missing compile checks

This commit is contained in:
A Thousand Ships
2024-02-22 20:21:43 +01:00
parent b15105a358
commit 12cecf726f
4 changed files with 16 additions and 0 deletions

View File

@@ -28,6 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifdef CLIPPER2_ENABLED
#include "nav_mesh_generator_2d.h"
#include "core/config/project_settings.h"
@@ -902,3 +904,5 @@ void NavMeshGenerator2D::generator_bake_from_source_geometry_data(Ref<Navigation
p_navigation_mesh->add_polygon(new_polygons[i]);
}
}
#endif // CLIPPER2_ENABLED