If there is only 1 connected component there is no corner

This commit is contained in:
Andreas Fabri
2017-07-11 20:31:30 +02:00
parent 7a5f38c77b
commit 704b8c8c2d
@@ -1436,6 +1436,9 @@ private:
bool is_corner(const vertex_descriptor& v) const
{
if(! has_border_){
return false;
}
unsigned int nb_incident_features = 0;
BOOST_FOREACH(halfedge_descriptor h, halfedges_around_target(v, mesh_))
{