From a4a0d6acf3d9b65556b544b53295ae5549b97a43 Mon Sep 17 00:00:00 2001 From: ponchio Date: Mon, 30 Jun 2008 08:46:06 +0000 Subject: [PATCH] last_seed++ shodl have been ++last_seed --- vcg/complex/trimesh/create/ball_pivoting.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/trimesh/create/ball_pivoting.h b/vcg/complex/trimesh/create/ball_pivoting.h index a49a6de1..01a41b9e 100644 --- a/vcg/complex/trimesh/create/ball_pivoting.h +++ b/vcg/complex/trimesh/create/ball_pivoting.h @@ -99,7 +99,7 @@ template class BallPivoting: public AdvancingFront { std::vector targets; std::vector points; std::vector dists; - while(last_seed++ < (int)(this->mesh.vert.size())) { + while(++last_seed < (int)(this->mesh.vert.size())) { VertexType &seed = this->mesh.vert[last_seed]; if(seed.IsD() || seed.IsUserBit(usedBit)) continue;