added Alloc to support polygon meshes

This commit is contained in:
ganovelli 2008-11-26 17:59:29 +00:00
parent 9d8e452e65
commit 7b64489526
1 changed files with 2 additions and 0 deletions

View File

@ -727,6 +727,8 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi )
return pi.status;
}
}
if(m.HasPolyInfo()) (*fi).Alloc(3);
if(m.HasPerFaceFlags() &&( pi.mask & Mask::IOM_FACEFLAGS) )
{