Skip to content

Bugfix vtkCellDataToPointData removes arrays from input data set

vtkCellDataToPointData has a bug where it removes non- vtkDataArray arrays from the input data set's cell data. For example if the input data set contains a vtkStringArray then using vtkCellDataToPointData::RequestDataForUnstructuredData() removes this array which breaks the pipeline concept.

The solution creates a shallow copy of the cell data instead of using it directly. Hence the arrays are removed from the copy, not the input per se.

You can use the attached file for testing purposes. main.cpp

Merge request reports