diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h index a74191b8b73..cea2334f14f 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Isotropic_remeshing/remesh_impl.h @@ -259,7 +259,7 @@ namespace internal { , const bool protect_constraints , EdgeIsConstrainedMap ecmap = EdgeIsConstrainedMap() , VertexIsConstrainedMap vcmap = VertexIsConstrainedMap() - , FacePatchMap fpmap = FacePatchMap(pmesh, ecmap) + , FacePatchMap fpmap = FacePatchMap() , const bool own_tree = true)//built by the remesher : mesh_(pmesh) , vpmap_(vpmap) @@ -273,6 +273,8 @@ namespace internal { , vcmap_(vcmap) { CGAL_assertion(CGAL::is_triangle_mesh(mesh_)); + + fpmap = FacePatchMap(mesh_, ecmap_); } ~Incremental_remesher()