Commit 66b35fe5 authored by Vladimír Ulman's avatar Vladimír Ulman
Browse files

Updated the new radius section in the VTKs.

parent 21daf071
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -741,14 +741,15 @@ int ActiveMesh::ImportVTK_Ftree(const char *filename,unsigned int idx,
		file >> tmp >> itemCount;
	}

	//read radii, i.e. CELL_DATA header
	if (tmp[0] != 'C'
	 || tmp[1] != 'E'
	 || tmp[2] != 'L'
	 || tmp[3] != 'L'
	 || tmp[4] != '_'
	 || tmp[5] != 'D'
	 || tmp[6] != 'A') { file.close(); return(7); }
	//read radii, i.e. POINT_DATA header
	if (tmp[0] != 'P'
	 || tmp[1] != 'O'
	 || tmp[2] != 'I'
	 || tmp[3] != 'N'
	 || tmp[4] != 'T'
	 || tmp[5] != '_'
	 || tmp[6] != 'D'
	 || tmp[7] != 'A') { file.close(); return(7); }
	file.ignore(10240,'\n');
	file.ignore(10240,'\n'); //ignore SCALARS..
	file.ignore(10240,'\n'); //ignore LOOKUP_TABLE