removed small nasty bug about indexes that in some cases trashed output meshes when in presence of deleted faces
This commit is contained in:
parent
07098f87b9
commit
bf0e346d81
|
@ -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){
|
for(j=0,vi=m.vert.begin();vi!=m.vert.end();++vi){
|
||||||
vp=&(*vi);
|
vp=&(*vi);
|
||||||
indices[j] = j;
|
indices[vi] = j;
|
||||||
|
|
||||||
if( !m.HasPerVertexFlags() || !vp->IsD() )
|
if( !m.HasPerVertexFlags() || !vp->IsD() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue