]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
[Bug PAL7252] DEVELOPMENT: Porting to MED2.2
authorapo <apo@opencascade.com>
Mon, 10 Jan 2005 07:06:17 +0000 (07:06 +0000)
committerapo <apo@opencascade.com>
Mon, 10 Jan 2005 07:06:17 +0000 (07:06 +0000)
src/SMESH/SMESH_Mesh.cxx

index 9636e64514390f718794b25105c301289480a1cd..a778699e10f628fb0c94a713c00c363d193ecdee 100644 (file)
@@ -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      );