From e7e77d330986f10285caf9f2a60d554c0cc7d393 Mon Sep 17 00:00:00 2001 From: Guido Ranzuglia granzuglia Date: Fri, 19 Oct 2012 09:34:44 +0000 Subject: [PATCH] - changed function names according to the new vcglib syntax --- src/meshlabplugins/filter_sampling/filter_sampling.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/meshlabplugins/filter_sampling/filter_sampling.cpp b/src/meshlabplugins/filter_sampling/filter_sampling.cpp index f00a526bf..c2f35dc4c 100644 --- a/src/meshlabplugins/filter_sampling/filter_sampling.cpp +++ b/src/meshlabplugins/filter_sampling/filter_sampling.cpp @@ -941,8 +941,9 @@ case FP_CLUSTERED_SAMPLING : { tri::UpdateBounding::Box(samplePtMesh->cm); tri::UpdateBounding::Box(closestPtMesh->cm); - tri::UpdateColor::PerVertexQualityRamp(samplePtMesh->cm); - tri::UpdateColor::PerVertexQualityRamp(closestPtMesh->cm); + + tri::UpdateColor::VertexQualityRamp(samplePtMesh->cm); + tri::UpdateColor::VertexQualityRamp(closestPtMesh->cm); } } break; @@ -1087,7 +1088,7 @@ case FP_CLUSTERED_SAMPLING : SampleSHT sht; tri::VertTmark markerFunctor; typedef vcg::vertex::PointDistanceFunctor VDistFunct; - tri::UpdateColor::PerVertexConstant(mmM->cm, Color4b::LightGray); + tri::UpdateColor::VertexConstant(mmM->cm, Color4b::LightGray); tri::UpdateQuality::VertexConstant(mmM->cm, std::numeric_limits::max()); bool approximateGeodeticFlag = par.getBool("ApproximateGeodetic"); bool sampleRadiusFlag = par.getBool("SampleRadius");