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);
TInt aNbElem = aPolyedreInfo->GetNbElem();
if(aNbElem > 0){
- PSubMeshImpl aSubMesh = aGeom2SubMesh[VTK_VERTEX];
+ PSubMeshImpl aSubMesh = aGeom2SubMesh[aVGeom];
TCell2Connect& aCell2Connect = aSubMesh->myCell2Connect;
aCell2Connect.resize(aNbElem);