From 59342dc743c8eeba40edd45e58e91bfc5b85c0af Mon Sep 17 00:00:00 2001 From: Guido Ranzuglia granzuglia Date: Mon, 22 Oct 2012 10:03:03 +0000 Subject: [PATCH] - changed function names according to the new vcglib syntax --- src/meshlabplugins/filter_func/filter_func.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshlabplugins/filter_func/filter_func.cpp b/src/meshlabplugins/filter_func/filter_func.cpp index 48d8be977..a8e323bb1 100644 --- a/src/meshlabplugins/filter_func/filter_func.cpp +++ b/src/meshlabplugins/filter_func/filter_func.cpp @@ -528,7 +528,7 @@ bool FilterFunctionPlugin::applyFilter(QAction *filter, MeshDocument &md, RichPa if(par.getBool("normalize")) tri::UpdateQuality::VertexNormalize(m.cm); // map quality into per-vertex color - if(par.getBool("map")) tri::UpdateColor::VertexQualityRamp(m.cm); + if(par.getBool("map")) tri::UpdateColor::PerVertexQualityRamp(m.cm); // if succeded log stream contains number of vertices and time elapsed Log( "%d vertices processed in %.2f sec.", m.cm.vn, (clock() - start) / (float) CLOCKS_PER_SEC); @@ -625,7 +625,7 @@ bool FilterFunctionPlugin::applyFilter(QAction *filter, MeshDocument &md, RichPa if(par.getBool("normalize")) tri::UpdateQuality::FaceNormalize(m.cm); // map quality into per-vertex color - if(par.getBool("map")) tri::UpdateColor::FaceQualityRamp(m.cm); + if(par.getBool("map")) tri::UpdateColor::PerFaceQualityRamp(m.cm); // if succeded log stream contains number of faces processed and time elapsed Log( "%d faces processed in %.2f sec.", m.cm.fn, (clock() - start) / (float) CLOCKS_PER_SEC);