]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for the bug IPAL22824 TC6.0.4: Export many meshes in one Med file works wrong
authorana <ana@opencascade.com>
Fri, 18 Nov 2011 12:28:18 +0000 (12:28 +0000)
committerana <ana@opencascade.com>
Fri, 18 Nov 2011 12:28:18 +0000 (12:28 +0000)
src/SMESH_I/SMESH_Mesh_i.cxx

index b8635aadf7c8528efb4ec347806d9cab1336fc75..fc513201a3b8ac86f05fb866b3e451f363602a74 100644 (file)
@@ -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 << " )";