[Bug PAL7252] DEVELOPMENT: Porting to MED2.2

This commit is contained in:
apo 2005-01-10 07:06:17 +00:00
parent f4333d2f61
commit c483b7246f

View 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 );