diff --git a/src/meshlabplugins/filter_func/filter_func.cpp b/src/meshlabplugins/filter_func/filter_func.cpp index 6fc9fd3e8..4c716de29 100644 --- a/src/meshlabplugins/filter_func/filter_func.cpp +++ b/src/meshlabplugins/filter_func/filter_func.cpp @@ -1281,7 +1281,7 @@ void FilterFunctionPlugin::setPerVertexVariables(Parser &p, CMeshO &m) qDebug("Adding custom per vertex float variable %s",v_attrNames.back().c_str()); } AllVertexAttribName.clear(); - tri::Allocator::GetAllPerVertexAttribute< Point3f >(m,AllVertexAttribName); + tri::Allocator::GetAllPerVertexAttribute< Point3m >(m,AllVertexAttribName); for(int i = 0; i < (int) AllVertexAttribName.size(); i++) { CMeshO::PerVertexAttributeHandle hh3 = tri::Allocator::GetPerVertexAttribute(m, AllVertexAttribName[i]); @@ -1391,7 +1391,7 @@ void FilterFunctionPlugin::setPerFaceVariables(Parser &p, CMeshO &m) // define var for user-defined attributes (if any exists) // if vector is empty, code won't be executed std::vector AllFaceAttribName; - tri::Allocator::GetAllPerFaceAttribute< float >(m,AllFaceAttribName); + tri::Allocator::GetAllPerFaceAttribute< Scalarm >(m,AllFaceAttribName); f_handlers.clear(); f_attrNames.clear(); f_attrValue.clear();