From 201659654a328f84c229d16fe85d8709a4183957 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Sat, 19 Oct 2019 15:53:42 +0000 Subject: [PATCH] Fixed most problems, some still persists. --- src/io.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io.c b/src/io.c index 0dd022c..64dc53d 100644 --- a/src/io.c +++ b/src/io.c @@ -435,7 +435,7 @@ - fprintf(fh,"</CellData>\n<Points>\n<DataArray type=\"Float64\" Name=\"Koordinate tock\" NumberOfComponents=\"3\" format=\"binary\">\n"); + fprintf(fh,"</CellData>\n<Points>\n<DataArray type=\"Float64\" Name=\"Koordinate tock\" NumberOfComponents=\"3\" format=\"binary\">"); offset=0; for(i=0;i<vlist->n;i++,offset+=3){ //fprintf(fh,"%.17e %.17e %.17e\n",vtx[i]->x,vtx[i]->y, vtx[i]->z); @@ -539,7 +539,7 @@ printout=ts_compress((char *)int_vector,offset*sizeof(long)); fprintf(fh,"%s",printout); free(printout); - fprintf(fh,"</DataArray>\n<DataArray type=\"UInt8\" Name=\"types\" format=\"binary\">\n"); + fprintf(fh,"</DataArray>\n<DataArray type=\"UInt8\" Name=\"types\" format=\"binary\">"); free(int_vector); free(float_vector); free(float_cell_vector); -- Gitblit v1.9.3