Commit 5cdbe488 authored by Andrew Bauer's avatar Andrew Bauer
Browse files

Making vtkPointSetCellIterator have same point data type as the vtkPointSet.

parent ab9fc894
Pipeline #26223 passed with stage
......@@ -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