]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To fix a regression
authorapo <apo@opencascade.com>
Fri, 23 Sep 2005 08:48:04 +0000 (08:48 +0000)
committerapo <apo@opencascade.com>
Fri, 23 Sep 2005 08:48:04 +0000 (08:48 +0000)
src/CONVERTOR/VISU_MedConvertor.cxx

index 2e4b5fc0920172e2f1924f33a6863f68f756e29c..6031a74ad6bab35112dcd4db6a3277029278ba5a 100644 (file)
@@ -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++){