trying to get rid ofa strange template error on linux.
This commit is contained in:
parent
aecb23868f
commit
70d9050ffc
|
@ -109,9 +109,12 @@ public:
|
||||||
for(int i=0;i<3;++i)
|
for(int i=0;i<3;++i)
|
||||||
{
|
{
|
||||||
htt[i] = vcg::tri::Allocator<MeshType>:: template GetPerVertexAttribute<float> (m,std::string(attrxyz[i]));
|
htt[i] = vcg::tri::Allocator<MeshType>:: template GetPerVertexAttribute<float> (m,std::string(attrxyz[i]));
|
||||||
ForEachVertex (m, [&](typename MeshType::VertexType &v) {
|
// ForEachVertex (m, [&](typename MeshType::VertexType &v) {
|
||||||
htt[i][v] = ht[v][i];
|
// htt[i][v] = ht[v][i];
|
||||||
});
|
// });
|
||||||
|
for(auto vi=m.vert.begin();vi!=m.vert.end();++vi)
|
||||||
|
if(!vi->IsD())
|
||||||
|
htt[i][vi] = ht[vi][i];
|
||||||
AddPerVertexFloatAttribute(attrxyz[i]);
|
AddPerVertexFloatAttribute(attrxyz[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue