fix protection of features on bbox, and/or features everywhere

This commit is contained in:
Jane Tournois 2022-09-22 12:24:37 +02:00
parent aaa50e4a39
commit 4cdf1dc722
1 changed files with 1 additions and 1 deletions

View File

@ -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;