From: ana Date: Fri, 18 Nov 2011 12:28:18 +0000 (+0000) Subject: Fix for the bug IPAL22824 TC6.0.4: Export many meshes in one Med file works wrong X-Git-Tag: V6_4_0rc1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=7bea5a1232e34476db27e616787d8c59bc68886a Fix for the bug IPAL22824 TC6.0.4: Export many meshes in one Med file works wrong --- diff --git a/src/SMESH_I/SMESH_Mesh_i.cxx b/src/SMESH_I/SMESH_Mesh_i.cxx index b8635aadf..fc513201a 100644 --- a/src/SMESH_I/SMESH_Mesh_i.cxx +++ b/src/SMESH_I/SMESH_Mesh_i.cxx @@ -2595,7 +2595,7 @@ void SMESH_Mesh_i::ExportToMEDX (const char* file, throw(SALOME::SALOME_Exception) { Unexpect aCatch(SALOME_SalomeException); - string aMeshName = PrepareMeshNameAndGroups(file, true); + string aMeshName = PrepareMeshNameAndGroups(file, overwrite); TPythonDump() << _this() << ".ExportToMEDX( r'" << file << "', " << auto_groups << ", " << theVersion << ", " << overwrite << " )";