Skip to content

Commit 89758ed

Browse files
wumanman1024finetjul
authored andcommitted
fix: vtkXMLPolyDataWriter Support Save FieldData
1 parent 051d540 commit 89758ed

File tree

1 file changed

+5
-0
lines changed
  • Sources/IO/XML/XMLPolyDataWriter

1 file changed

+5
-0
lines changed

Sources/IO/XML/XMLPolyDataWriter/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ function vtkXMLPolyDataWriter(publicAPI, model) {
5050
'CellData',
5151
dataObject.getCellData()
5252
);
53+
publicAPI.processDataSetAttributes(
54+
piece,
55+
'FieldData',
56+
dataObject.getFieldData()
57+
);
5358
publicAPI.processDataArray(piece.ele('Points'), dataObject.getPoints());
5459

5560
POLYDATA_FIELDS.forEach((cellType) => {

0 commit comments

Comments
 (0)