From: apo Date: Mon, 10 Jan 2005 07:06:17 +0000 (+0000) Subject: [Bug PAL7252] DEVELOPMENT: Porting to MED2.2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c483b7246fb7eeaf42ad7ba4b355a07f99edc41e;p=modules%2Fsmesh.git [Bug PAL7252] DEVELOPMENT: Porting to MED2.2 --- diff --git a/src/SMESH/SMESH_Mesh.cxx b/src/SMESH/SMESH_Mesh.cxx index 9636e6451..a778699e1 100644 --- a/src/SMESH/SMESH_Mesh.cxx +++ b/src/SMESH/SMESH_Mesh.cxx @@ -639,7 +639,7 @@ void SMESH_Mesh::ExportMED(const char *file, { Unexpect aCatch(SalomeException); DriverMED_W_SMESHDS_Mesh myWriter; - myWriter.SetFile ( file ); + myWriter.SetFile ( file, MED::EVersion(theVersion) ); myWriter.SetMesh ( _myMeshDS ); if ( !theMeshName ) myWriter.SetMeshId ( _idDoc );