Skip to content

Fix multi-piece field data display

Fix a bug where the field data attached to the pieces of a multipiece dataset wasn't displayed in a renderview (see #20748 (closed)).

The data is lost when appending all the pieces together before displaying it. This fix simply forwards the field data arrays of the first piece to the result of the vtkAppendPolydata filter used by the vtkGeometryRepresentation. We assume that all pieces of a multipiece are expected to have identical field data.

Merge request reports