added Alloc to support polygon meshes
This commit is contained in:
parent
9d8e452e65
commit
7b64489526
|
@ -728,6 +728,8 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi )
|
|||
}
|
||||
}
|
||||
|
||||
if(m.HasPolyInfo()) (*fi).Alloc(3);
|
||||
|
||||
if(m.HasPerFaceFlags() &&( pi.mask & Mask::IOM_FACEFLAGS) )
|
||||
{
|
||||
(*fi).UberFlags() = fa.flags;
|
||||
|
|
Loading…
Reference in New Issue