Commit f58e1dcf authored by Andrew Bauer's avatar Andrew Bauer Committed by Kitware Robot

Merge topic 'celliterator_point_datatype'

5cdbe488 Making vtkPointSetCellIterator have same point data type as the vtkPointSet.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1955
parents d197f6cb 5cdbe488
Pipeline #26267 canceled with stage
in 0 seconds
......@@ -35,6 +35,10 @@ void vtkPointSetCellIterator::SetPointSet(vtkPointSet *ds)
this->PointSet = ds;
this->PointSetPoints = ds ? ds->GetPoints() : NULL;
this->CellId = 0;
if(ds)
{
this->Points->SetDataType(ds->GetPoints()->GetDataType());
}
}
//------------------------------------------------------------------------------
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment