Bug IPAL10213
MED files got during SAUVE->MED conversion isn't opened in Post-Pro
aMeshName.c_str(),
anEntity,
aFamilyName.c_str());
- CreateReference(myStudyDocument,aGroupEntry,aComment2EntryMap[aComment.latin1()]);
+ TComment2EntryMap::const_iterator anIter = aComment2EntryMap.find(aComment.latin1());
+ if(anIter != aComment2EntryMap.end()){
+ const std::string& anEntry = anIter->second;
+ CreateReference(myStudyDocument,aGroupEntry,anEntry);
+ }
}
}
}