Merge pull request #5642 from sloriot/SS-missing_return

Add missing return statement
This commit is contained in:
Laurent Rineau 2021-04-28 15:23:58 +02:00
commit aa6af46392
1 changed files with 2 additions and 1 deletions

View File

@ -33,8 +33,9 @@ void make_skin_surface_mesh_3(Polyhedron_3 &p,
int nSubdivisions=0, int nSubdivisions=0,
bool grow_balls=true) bool grow_balls=true)
{ {
if (shrink_factor == 1) { if (shrink_factor >= 1) {
make_union_of_balls_mesh_3(p,begin,end,nSubdivisions); make_union_of_balls_mesh_3(p,begin,end,nSubdivisions);
return;
} }
typedef typename WP_iterator::value_type Weighted_point; typedef typename WP_iterator::value_type Weighted_point;