Bug fixed in the save of the edge data in a binary PLY
This commit is contained in:
parent
30a7ecf743
commit
fe0a137812
|
@ -727,7 +727,7 @@ static int Save(SaveMeshType &m, const char * filename, bool binary, PlyInfo &p
|
||||||
{
|
{
|
||||||
eauxvv[0]=indices[ei->cV(0)];
|
eauxvv[0]=indices[ei->cV(0)];
|
||||||
eauxvv[1]=indices[ei->cV(1)];
|
eauxvv[1]=indices[ei->cV(1)];
|
||||||
fwrite(vv,sizeof(int),2,fpout);
|
fwrite(eauxvv,sizeof(int),2,fpout);
|
||||||
}
|
}
|
||||||
else // ***** ASCII *****
|
else // ***** ASCII *****
|
||||||
fprintf(fpout,"%d %d \n", indices[ei->cV(0)], indices[ei->cV(1)]);
|
fprintf(fpout,"%d %d \n", indices[ei->cV(0)], indices[ei->cV(1)]);
|
||||||
|
|
Loading…
Reference in New Issue