diff --git a/Sources/IO/XML/XMLPolyDataWriter/index.js b/Sources/IO/XML/XMLPolyDataWriter/index.js index 8edcd7c50f2..dd4744dc704 100644 --- a/Sources/IO/XML/XMLPolyDataWriter/index.js +++ b/Sources/IO/XML/XMLPolyDataWriter/index.js @@ -50,6 +50,11 @@ function vtkXMLPolyDataWriter(publicAPI, model) { 'CellData', dataObject.getCellData() ); + publicAPI.processDataSetAttributes( + piece, + 'FieldData', + dataObject.getFieldData() + ); publicAPI.processDataArray(piece.ele('Points'), dataObject.getPoints()); POLYDATA_FIELDS.forEach((cellType) => {