From 5f5397a5d3828821a491deeca94b58e8ff347d40 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Mon, 14 Mar 2016 11:35:09 +0100 Subject: [PATCH] parameters pmesh and ecmap can't be used here --- .../internal/Isotropic_remeshing/remesh_impl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()