added Alloc to support polygon meshes
This commit is contained in:
parent
9d8e452e65
commit
7b64489526
|
@ -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) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue