mirror of https://github.com/CGAL/cgal
do nothing if the face range is empty
This commit is contained in:
parent
8b95f0d8f6
commit
46b0abbb3b
|
|
@ -121,6 +121,9 @@ void isotropic_remeshing(const FaceRange& faces
|
|||
, PolygonMesh& pmesh
|
||||
, const NamedParameters& np)
|
||||
{
|
||||
if (boost::begin(faces)==boost::end(faces))
|
||||
return;
|
||||
|
||||
typedef PolygonMesh PM;
|
||||
typedef typename boost::graph_traits<PM>::vertex_descriptor vertex_descriptor;
|
||||
using boost::choose_pmap;
|
||||
|
|
|
|||
Loading…
Reference in New Issue