From: eap Date: Mon, 29 Jan 2007 09:23:29 +0000 (+0000) Subject: PAL13139 (Corrupted reading of groups at import of MED files in Post-Pro) X-Git-Tag: V3_2_5~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=32da1ae8288ae33ae33d6d5b844e1b90cdd6f884;p=modules%2Fvisu.git PAL13139 (Corrupted reading of groups at import of MED files in Post-Pro) Prevent group creation if family not found --- diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index 7985a343..f0b3b05b 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -1022,8 +1022,8 @@ static int MY_GROUP_DEBUG = 0; TFamilyMap::const_iterator aFamilyMapIter = aFamilyMap.begin(); for(; aFamilyMapIter != aFamilyMap.end(); aFamilyMapIter++){ const std::string& aName = aFamilyMapIter->first; - aFamily = aFamilyMapIter->second; if(aName == aFamilyName){ + aFamily = aFamilyMapIter->second; aVEntity = aFamily->myEntity; goto exit_lable; }