From: apo Date: Fri, 23 Sep 2005 08:48:04 +0000 (+0000) Subject: To fix a regression X-Git-Tag: BR-D5-38-2003_D2005-12-10~146 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=351da027bdb90f0ac35f0eaa8c24f6dada0e8716;p=modules%2Fvisu.git To fix a regression --- diff --git a/src/CONVERTOR/VISU_MedConvertor.cxx b/src/CONVERTOR/VISU_MedConvertor.cxx index 2e4b5fc0..6031a74a 100644 --- a/src/CONVERTOR/VISU_MedConvertor.cxx +++ b/src/CONVERTOR/VISU_MedConvertor.cxx @@ -65,6 +65,7 @@ static int MY_GROUP_DEBUG = 0; #define _LOAD_FAMILIES_ #define _EDF_NODE_IDS_ +#define _NAME_MAPPING_ 0 namespace { @@ -931,7 +932,7 @@ namespace else TNamedPointCoords::Init(theNbPoints,theDim); - if(theNodeInfo->IsElemNames() && theNbPoints > 0){ + if(_NAME_MAPPING_ && theNodeInfo->IsElemNames() && theNbPoints > 0){ myPointNames.resize(theNbPoints); for(vtkIdType anID = 0; anID < theNbPoints; anID++) myPointNames[anID] = theNodeInfo->GetElemName(anID); @@ -983,7 +984,7 @@ namespace { myIsElemNum = theElemInfo->IsElemNum(); myElemNum = theElemInfo->myElemNum; - if(0 && theElemInfo->IsElemNames()){ + if(_NAME_MAPPING_ && theElemInfo->IsElemNames()){ TInt aNbElem = theElemInfo->GetNbElem(); myElemNames.resize(aNbElem); for(TInt anID = 0; anID < aNbElem; anID++){