Merge pull request #203 from vejmarie/fix_vtkcelliterator

Fix vtkcelliterator
This commit is contained in:
wwmayer 2016-07-05 14:46:26 +02:00 committed by GitHub
commit 462e8ec4db

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: