diff --git a/vcg/complex/algorithms/pointcloud_normal.h b/vcg/complex/algorithms/pointcloud_normal.h index ffdf6d24..e8628dab 100644 --- a/vcg/complex/algorithms/pointcloud_normal.h +++ b/vcg/complex/algorithms/pointcloud_normal.h @@ -98,7 +98,7 @@ public: bool useViewPoint; /// if the position of the viewpoint has to be used. }; - static void Compute(MeshType &m, Param p, vcg::CallBackPos * cb) + static void Compute(MeshType &m, Param p, vcg::CallBackPos * cb=0) { tri::Allocator::CompactVertexVector(m); if(cb) cb(1,"Building KdTree...");