Salome HOME
[Bug PAL7853] PAL-MESH-004 regress: Problem with presentation groups of Nodes in...
authorapo <apo@opencascade.com>
Fri, 28 Jan 2005 13:37:57 +0000 (13:37 +0000)
committerapo <apo@opencascade.com>
Fri, 28 Jan 2005 13:37:57 +0000 (13:37 +0000)
src/CONVERTOR/VISU_MedConvertor.cxx

index ca675ad1f239ef177f484a7c833e1c098aa0482b..16e0ac4b1e88612b2bd7d768d5cf69caa90f9855 100644 (file)
@@ -546,7 +546,7 @@ VISU_MedConvertor::LoadPoints(const MED::PWrapper& theMed,
     if(aFamily && aNbElem > 0){
       VISU::TFamilyImpl::TSubMeshOnCellType& aSubMeshOnCellType = aFamily->mySubMesh[VTK_VERTEX];
       for (int iElem = 0; iElem < aNbElem; iElem++) 
-       if(aNodeInfo->GetElemNum(iElem) == aFamily->myId)
+       if(aNodeInfo->GetFamNum(iElem) == aFamily->myId)
          aSubMeshOnCellType.insert(iElem);
     }
     return 1;