removed small nasty bug about indexes that in some cases trashed output meshes when in presence of deleted faces

This commit is contained in:
Paolo Cignoni 2008-05-29 15:15:19 +00:00
parent 07098f87b9
commit bf0e346d81
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ static int Save(SaveMeshType &m, const char * filename, bool binary, PlyInfo &p
for(j=0,vi=m.vert.begin();vi!=m.vert.end();++vi){
vp=&(*vi);
indices[j] = j;
indices[vi] = j;
if( !m.HasPerVertexFlags() || !vp->IsD() )
{