bug fixed: CompactFaceVector resized the attributes per face

to the number of "vertices" of the mesh
This commit is contained in:
ganovelli 2010-10-08 15:58:32 +00:00
parent de3371806e
commit 354b225e92
1 changed files with 1 additions and 1 deletions

View File

@ -719,7 +719,7 @@ namespace vcg {
// Loop on the faces to correct VF and FF relations
m.face.resize(m.fn);
// resize the optional atttributes in m.face_attr to reflect the changes
ResizeAttribute(m.face_attr,m.vn,m);
ResizeAttribute(m.face_attr,m.fn,m);
FaceIterator fi;
for(fi=m.face.begin();fi!=m.face.end();++fi)