Skip to content

Commit

Permalink
fix: vtkXMLPolyDataWriter Support Save FieldData
Browse files Browse the repository at this point in the history
  • Loading branch information
wumanman1024 authored and finetjul committed Dec 13, 2024
1 parent 051d540 commit 89758ed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/IO/XML/XMLPolyDataWriter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 89758ed

Please sign in to comment.