From 388435d15a1fda7eaab88c07d50ca6720805b235 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 24 Jun 2013 08:36:08 +0000 Subject: [PATCH] Added a default value to the optional cb parameter in the pointcloud normal generation function --- vcg/complex/algorithms/pointcloud_normal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...");