You've already forked godot
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user