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:
@@ -222,7 +222,11 @@ void GodotNavigationServer2D::bake_from_source_geometry_data_async(const Ref<Nav
|
||||
}
|
||||
|
||||
bool GodotNavigationServer2D::is_baking_navigation_polygon(Ref<NavigationPolygon> p_navigation_polygon) const {
|
||||
#ifdef CLIPPER2_ENABLED
|
||||
return NavMeshGenerator2D::get_singleton()->is_baking(p_navigation_polygon);
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
GodotNavigationServer2D::GodotNavigationServer2D() {}
|
||||
|
||||
Reference in New Issue
Block a user