add missing return statement

This commit is contained in:
Sébastien Loriot 2021-04-26 11:30:25 +02:00
parent f7d01c9b22
commit 2d37774684
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;