fix last commit

This commit is contained in:
alemuntoni 2021-01-26 13:57:20 +01:00
parent 04b3ba1e85
commit 1cdfd0cab4
2 changed files with 5 additions and 5 deletions

View File

@ -1310,7 +1310,7 @@ void FilterFunctionPlugin::setPerVertexVariables(Parser &p, CMeshO &m)
tri::Allocator<CMeshO>::GetAllPerVertexAttribute< Point3f >(m,AllVertexAttribName);
for(int i = 0; i < (int) AllVertexAttribName.size(); i++)
{
CMeshO::PerVertexAttributeHandle<Point3f> hh3 = tri::Allocator<CMeshO>::GetPerVertexAttribute<Point3f>(m, AllVertexAttribName[i]);
CMeshO::PerVertexAttributeHandle<Point3m> hh3 = tri::Allocator<CMeshO>::GetPerVertexAttribute<Point3m>(m, AllVertexAttribName[i]);
v3_handlers.push_back(hh3);

View File

@ -43,13 +43,13 @@ protected:
double fr,fg,fb,fa,fnx,fny,fnz,fq,fsel;
double v,f,v0i,v1i,v2i,ti;
std::vector<std::string> v_attrNames; // names of the <float> per vertex attributes
std::vector<Scalarm> v_attrValue; // values of the <float> per vertex attributes
std::vector<double> v_attrValue; // values of the <Scalarm> per vertex attributes
std::vector<std::string> v3_attrNames; // names of the <Point3f> per vertex attributes There are 3x (one foreach coord _x, _y, _z)
std::vector<Scalarm> v3_attrValue; // values of the <Point3f> per vertex attributes. There are 3x (one foreach coord _x, _y, _z)
std::vector<double> v3_attrValue; // values of the <Point3m> per vertex attributes. There are 3x (one foreach coord _x, _y, _z)
std::vector<std::string> f_attrNames;
std::vector<Scalarm> f_attrValue;
std::vector<double> f_attrValue;
std::vector<CMeshO::PerVertexAttributeHandle<Scalarm> > v_handlers;
std::vector<CMeshO::PerVertexAttributeHandle<Point3f> > v3_handlers;
std::vector<CMeshO::PerVertexAttributeHandle<Point3m> > v3_handlers;
std::vector<CMeshO::PerFaceAttributeHandle<Scalarm> > f_handlers;
public: