diff --git a/wrap/io_trimesh/import_ply.h b/wrap/io_trimesh/import_ply.h index cddb5302..51141538 100644 --- a/wrap/io_trimesh/import_ply.h +++ b/wrap/io_trimesh/import_ply.h @@ -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) ) {