From 4cdf1dc722c4cb6ada6fb746b90b49f32a4246ac Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Thu, 22 Sep 2022 12:24:37 +0200 Subject: [PATCH] fix protection of features on bbox, and/or features everywhere --- .../demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp index 5f58a41680a..583fef72bad 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Mesh_3/Mesh_3_plugin_cgal_code.cpp @@ -308,7 +308,7 @@ Meshing_thread* cgal_code_mesh_3(const Image* pImage, protect_features = true; // so that it will be passed in make_mesh_3 } Mesh_parameters param; - param.protect_features = protect_features; + param.protect_features = protect_features || protect_borders; param.detect_connected_components = detect_connected_components; param.facet_angle = facet_angle; param.facet_sizing = facet_sizing;