From: vsr Date: Wed, 15 Feb 2017 12:06:09 +0000 (+0300) Subject: 0021803: EDF 2351 : Available versions of MED in TUI function ExportMED aren't consis... X-Git-Tag: V9_0_0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?p=samples%2Fsierpinsky.git;a=commitdiff_plain;h=7f8d155639478a5763959b1fb30f9fb3cd143868 0021803: EDF 2351 : Available versions of MED in TUI function ExportMED aren't consistent with GUI behavior Update according changes of SMESH API. --- diff --git a/src/Sierpinsky/SIERPINSKY_Gen_i.cxx b/src/Sierpinsky/SIERPINSKY_Gen_i.cxx index 6d21927..3ddc8a8 100644 --- a/src/Sierpinsky/SIERPINSKY_Gen_i.cxx +++ b/src/Sierpinsky/SIERPINSKY_Gen_i.cxx @@ -169,7 +169,7 @@ CORBA::Boolean SIERPINSKY_Gen_i::ExportToMED( const char* theFileName, CORBA::Do } // create MED 2.2 file - MED::PWrapper aMed = MED::CrWrapper( theFileName, MED::eV2_2 ); + MED::PWrapper aMed = MED::CrWrapperW( theFileName ); // create 2D mesh MED::PMeshInfo aMesh = aMed->CrMeshInfo( 2, 2, "Sierpinsky" );