Skip to content

Commit 297d29c

Browse files
dakerfloryst
authored andcommitted
fix(Cutter): specify dataset arrays type
1 parent c46fa25 commit 297d29c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Filters/Core/Cutter/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ function vtkCutter(publicAPI, model) {
279279
const name = pointData.getArrayName(arrayIdx);
280280
const array = vtkDataArray.newInstance({
281281
name,
282+
dataType: pointData.getArrayByIndex(arrayIdx).getDataType(),
282283
values: newPointData[name],
283284
numberOfComponents: pointData
284285
.getArrayByIndex(arrayIdx)

0 commit comments

Comments
 (0)