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;
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());