diff --git a/src/meshlabplugins/filter_mls/mlsplugin.cpp b/src/meshlabplugins/filter_mls/mlsplugin.cpp index cd2f51173..015b7fb43 100644 --- a/src/meshlabplugins/filter_mls/mlsplugin.cpp +++ b/src/meshlabplugins/filter_mls/mlsplugin.cpp @@ -35,6 +35,7 @@ #include #include +#include #include #include #include @@ -49,7 +50,7 @@ #include "apss.h" #include "mlsutils.h" #include "implicits.h" -#include "../meshfilter/refine_loop.h" + #include "smallcomponentselection.h" @@ -460,8 +461,8 @@ bool MlsPlugin::applyFilter(QAction* filter, MeshDocument& md, FilterParameterSe vcg::tri::UpdateNormals::PerFace(mesh->cm); vcg::tri::UpdateNormals::NormalizeFace(mesh->cm); //vcg::RefineE >(m.cm, vcg::MidPoint(), edgePred, false, cb); - vcg::RefineOddEvenE, vcg::EvenPointLoop > - (mesh->cm, vcg::OddPointLoop(), vcg::EvenPointLoop(), edgePred, selectionOnly, cb); + vcg::tri::RefineOddEvenE, tri::EvenPointLoop > + (mesh->cm, tri::OddPointLoop(), tri::EvenPointLoop(), edgePred, selectionOnly, cb); } // project all vertices onto the MLS surface for (unsigned int i = 0; i< mesh->cm.vert.size(); i++)