mirror of https://github.com/CGAL/cgal
Merge pull request #7549 from afabri/Polyhedron-fix_surface_remeshing-GF
Polyhedron demo: Fix remeshing of a surface
This commit is contained in:
commit
2e8ce4006d
|
|
@ -787,12 +787,11 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
|
|||
return item->polyhedron();
|
||||
});
|
||||
|
||||
if(bounding_polyhedron != nullptr)
|
||||
if(!incident_sub.empty())
|
||||
{
|
||||
thread = cgal_code_mesh_3(
|
||||
polyhedrons,
|
||||
(polylines_item == nullptr) ? plc : polylines_item->polylines,
|
||||
bounding_polyhedron,
|
||||
incident_sub,
|
||||
item_name,
|
||||
angle,
|
||||
facets_sizing,
|
||||
|
|
@ -809,11 +808,12 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
|
|||
manifold,
|
||||
mesh_type == Mesh_type::SURFACE_ONLY);
|
||||
}
|
||||
else if(!incident_sub.empty())
|
||||
else
|
||||
{
|
||||
thread = cgal_code_mesh_3(
|
||||
polyhedrons,
|
||||
incident_sub,
|
||||
(polylines_item == nullptr) ? plc : polylines_item->polylines,
|
||||
bounding_polyhedron,
|
||||
item_name,
|
||||
angle,
|
||||
facets_sizing,
|
||||
|
|
|
|||
Loading…
Reference in New Issue