Fix aType detection for QUAD_Tetra elements

This commit is contained in:
vejmarie 2016-07-04 21:38:28 +02:00
parent ca0a640aed
commit a247aab259

View File

@ -63,7 +63,7 @@ SMDS_VtkCellIteratorToUNV::SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCel
_mesh = mesh;
_cellId = vtkCellId;
_index = 0;
_type = aType;
// _type = aType;
//MESSAGE("SMDS_VtkCellInterlacedIterator (UNV)" << _type);
_vtkIdList = vtkIdList::New();
@ -72,6 +72,7 @@ SMDS_VtkCellIteratorToUNV::SMDS_VtkCellIteratorToUNV(SMDS_Mesh* mesh, int vtkCel
grid->GetCellPoints((vtkIdType)_cellId, (vtkIdType&)_nbNodes, pts);
_vtkIdList->SetNumberOfIds(_nbNodes);
const int *ids = 0;
_type = aType;
switch (_type)
{
case SMDSEntity_Quad_Edge: