From 32da1ae8288ae33ae33d6d5b844e1b90cdd6f884 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 29 Jan 2007 09:23:29 +0000 Subject: [PATCH] PAL13139 (Corrupted reading of groups at import of MED files in Post-Pro) Prevent group creation if family not found --- src/CONVERTOR/VISU_MedConvertor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2