Fix for the bug IPAL22824 TC6.0.4: Export many meshes in one Med file works wrong

This commit is contained in:
ana 2011-11-18 12:28:18 +00:00
parent bcb7c80de5
commit 7bea5a1232

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