Added a default value to the optional cb parameter in the pointcloud normal generation function
This commit is contained in:
parent
90bb95a971
commit
388435d15a
|
@ -98,7 +98,7 @@ public:
|
||||||
bool useViewPoint; /// if the position of the viewpoint has to be used.
|
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<MeshType>::CompactVertexVector(m);
|
tri::Allocator<MeshType>::CompactVertexVector(m);
|
||||||
if(cb) cb(1,"Building KdTree...");
|
if(cb) cb(1,"Building KdTree...");
|
||||||
|
|
Loading…
Reference in New Issue