diff --git a/Geo/MElement.cpp b/Geo/MElement.cpp index 7fe335040a2064d00bea314a7b8edd5999850bf4..d37ff5779fe6da6026addac05b023789639559da 100644 --- a/Geo/MElement.cpp +++ b/Geo/MElement.cpp @@ -521,8 +521,7 @@ void MElement::writeVRML(FILE *fp) void MElement::writeVTK(FILE *fp, bool binary, bool bigEndian) { - int type = getTypeForUNV(); - if(!type) return; + if(!getTypeForVTK()) return; setVolumePositive(); diff --git a/doc/VERSIONS.txt b/doc/VERSIONS.txt index 3073dbc2de897a1a6582d60be95ed3c28e95aa83..4ba5f0f9d6612e7b33ab965c70ea8433d3d6d981 100644 --- a/doc/VERSIONS.txt +++ b/doc/VERSIONS.txt @@ -1,8 +1,9 @@ -$Id: VERSIONS.txt,v 1.16 2008-11-19 21:24:09 geuzaine Exp $ +$Id: VERSIONS.txt,v 1.17 2008-11-20 19:11:46 geuzaine Exp $ 2.2.6 (?): better transfinite smoothing and automatic corner -selection; fixed high order meshing bug on Windows/Linux; fixed -various other small bugs. +selection; fixed high order meshing crashes on Windows and Linux; new +uniform mesh refinement (thanks Brian!); fixed various other small +bugs. 2.2.5 (Oct 25, 2008): Gmsh now requires FLTK 1.1.7 or above; various small improvements (STL and VTK mesh IO, Netgen upgrade, Visual C++