I’ve made some changes in vtkSelectPolyData regarding multiple points:
- When generating selection scalars, there was no array name set, giving an output without the array in question.
- Cell data never gets passed to the output. Since this filter is of an “extract” type (not clipping cells), we can take advantage of that. Since non-triangular cells gets internally triangulated, care was taken to make sure the cell data gets passed correctly:
- Input scalars were discarded. Now, they are being passed. The selection array gets added right after, rather than before.