]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Minor changes
authorapo <apo@opencascade.com>
Wed, 31 Aug 2005 07:12:20 +0000 (07:12 +0000)
committerapo <apo@opencascade.com>
Wed, 31 Aug 2005 07:12:20 +0000 (07:12 +0000)
src/CONVERTOR/VISU_MedConvertor.cxx

index 2a25db1f90f2cc64e59f588a27426912b9a65e79..eaae6fdfe9ef766c1ed1e57dd41da6d6d8c2ec64 100644 (file)
@@ -1115,7 +1115,7 @@ VISU_MedConvertor
        MED::PPolygoneInfo aPolygoneInfo = theMed->GetPPolygoneInfo(aMeshInfo,aMEntity,aMGeom);
        TInt aNbElem = aPolygoneInfo->GetNbElem();
        if(aNbElem > 0){
-         PSubMeshImpl aSubMesh = aGeom2SubMesh[VTK_VERTEX];
+         PSubMeshImpl aSubMesh = aGeom2SubMesh[aVGeom];
          TCell2Connect& aCell2Connect = aSubMesh->myCell2Connect;
          aCell2Connect.resize(aNbElem);
          
@@ -1135,7 +1135,7 @@ VISU_MedConvertor
        TInt aNbElem = aPolyedreInfo->GetNbElem();
        
        if(aNbElem > 0){
-         PSubMeshImpl aSubMesh = aGeom2SubMesh[VTK_VERTEX];
+         PSubMeshImpl aSubMesh = aGeom2SubMesh[aVGeom];
          TCell2Connect& aCell2Connect = aSubMesh->myCell2Connect;
          aCell2Connect.resize(aNbElem);