From 6e4edddcf583c28b37c35720e6790dbe98d3f2b0 Mon Sep 17 00:00:00 2001 From: cignoni Date: Thu, 17 Apr 2014 10:11:43 +0000 Subject: [PATCH] Corrected a small syntax error in the last commit of point_sampling --- vcg/complex/algorithms/point_sampling.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vcg/complex/algorithms/point_sampling.h b/vcg/complex/algorithms/point_sampling.h index 9289129f..d1b00b9e 100644 --- a/vcg/complex/algorithms/point_sampling.h +++ b/vcg/complex/algorithms/point_sampling.h @@ -129,9 +129,9 @@ public: public: std::vector sampleVec; - void AddVert(const VertexType &p) + void AddVert(VertexType &p) { - sampleVec->push_back(&p); + sampleVec.push_back(&p); } // This sampler should be used only for getting vertex pointers. Meaningless in other case. void AddFace(const FaceType &, const CoordType &) { assert(0); }