]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Because of since now, any part of a destributed MED file can have its own mesh name...
authorapo <apo@opencascade.com>
Wed, 24 Oct 2007 06:58:21 +0000 (06:58 +0000)
committerapo <apo@opencascade.com>
Wed, 24 Oct 2007 06:58:21 +0000 (06:58 +0000)
src/VISU_I/VISU_MultiResult_i.cc

index 25097a00a97b74c19c9d724d7bcf9ce7ff664ed1..8894cb93114e44a3b38519aebbc9ba050cb1fd14 100644 (file)
@@ -912,7 +912,8 @@ VISU::MultiResult_i
   aRestoringMap["myName"] = thePartName;
 
   const VISU::TMeshMap& aMeshMap = Result_i::GetInput()->GetMeshMap();
-  VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.find(theMeshName);
+  //VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.find(theMeshName);
+  VISU::TMeshMap::const_iterator aMeshIter = aMeshMap.begin();
   if(aMeshIter == aMeshMap.end())
     return;
 
@@ -1095,7 +1096,7 @@ VISU::MultiResult_i
     int aRes = false;
     std::string anErrorMessage("empty mesh");
     try {
-      INITMSG(MYDEBUG, "theMeshName = '"<<aFileName<<"'; theFieldName = '"<<theFieldName<<"'\n");
+      INITMSG(MYDEBUG, "theMeshName = '"<<theMeshName<<"'; theFieldName = '"<<theFieldName<<"'\n");
       aRes = multipr::merge(aFileNames, theMeshName.c_str(), theFieldName.c_str(), aFileName.c_str());
     }catch(std::exception& exc){
       MSG(MYDEBUG,"Follow exception was occured in:\n"<<exc.what());