diff --git a/vcg/complex/trimesh/create/ball_pivoting.h b/vcg/complex/trimesh/create/ball_pivoting.h index 6a9354f2..83b3e6f1 100644 --- a/vcg/complex/trimesh/create/ball_pivoting.h +++ b/vcg/complex/trimesh/create/ball_pivoting.h @@ -652,8 +652,8 @@ int addFace() { (*next).previous = previous; detach((*a).v1); detach((*a).v0); - front.erase(a); - front.erase(b); + erase(a); + erase(b); return true; }