Corrected small bug inserted during the add of pervertexradius ply elements
This commit is contained in:
parent
b8fc43e7c6
commit
c5ad3694bd
|
@ -558,9 +558,10 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi )
|
|||
pi.mask |= Mask::IOM_VERTCOLOR;
|
||||
}
|
||||
}
|
||||
if( VertexType::HasRadius() )
|
||||
|
||||
if(tri::HasPerVertexRadius(m))
|
||||
{
|
||||
pf.AddToRead(VertDesc(15));
|
||||
if( pf.AddToRead(VertDesc(15))!=-1 )
|
||||
pi.mask |= Mask::IOM_VERTRADIUS;
|
||||
}
|
||||
// se ci sono i flag per vertice ci devono essere anche i flag per faccia
|
||||
|
|
Loading…
Reference in New Issue