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");