From 65f4947b8f03a94c66326b52e69177cf24f3b7a1 Mon Sep 17 00:00:00 2001 From: skl Date: Wed, 26 Jul 2006 07:39:38 +0000 Subject: [PATCH] Correction for bug IPAL12989. --- src/CONVERTOR/VISU_MedConvertor.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index 6dec1496..f6e5127c 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -1827,9 +1827,9 @@ VISU_MedConvertor const MED::PMeshInfo& aMeshInfo = theMesh->myMeshInfo; MED::EMaillage aType = aMeshInfo->GetType(); - + //Main part of code - if(MED::eNON_STRUCTURE){ + if(aType==MED::eNON_STRUCTURE){ MED::PNodeInfo aNodeInfo = theMed->GetPNodeInfo(theMesh->myMeshInfo); TInt aNbElem = aNodeInfo->GetNbElem(); @@ -1840,7 +1840,8 @@ VISU_MedConvertor if(aNodeInfo->GetFamNum(iElem) == anId) aSubMeshID.push_back(iElem); } - } else { + } + else { MED::PGrilleInfo aGrilleInfo = theMed->GetPGrilleInfo(aMeshInfo); TInt aNbElem = aGrilleInfo->GetNbNodes(); -- 2.39.2