From 351da027bdb90f0ac35f0eaa8c24f6dada0e8716 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 23 Sep 2005 08:48:04 +0000 Subject: [PATCH] To fix a regression --- src/CONVERTOR/VISU_MedConvertor.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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++){ -- 2.39.2