From 21e1ff113abef143cf33e37e7da26a8f46ae0ee8 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Mon, 18 Nov 2024 16:17:19 +0100 Subject: [PATCH] vertex is constrained if NOT allowed to move --- .../internal/Isotropic_remeshing/remesh_impl.h | 2 +- 1 file changed, 1 insertion(+), 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 e66633b2716..a31aacd52d9 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 @@ -1025,7 +1025,7 @@ namespace internal { // property map of constrained vertices for relaxation auto vertex_constraint = [&](const vertex_descriptor v) { - return is_move_allowed(v, relax_constraints); + return !is_move_allowed(v, relax_constraints); }; auto constrained_vertices_pmap = boost::make_function_property_map(vertex_constraint);