little bug fixed

This commit is contained in:
granzuglia 2006-11-04 16:34:17 +00:00
parent d83d458e02
commit fa90f7d267
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ namespace io {
valueStringList(face,tripatch.at(tript),"p");
int face_size = face.size();
int offsetface = (int)m.face.size();
if (face_size == 0) return E_NOMESH;
vcg::tri::Allocator<OpenMeshType>::AddFaces(m,face_size / (nfcatt * 3));
QDomNode wnsrc = QDomNode();
QStringList wn;