Skip to content

Commit d377e03

Browse files
committed
SQUASHME: PR fixes
1 parent b3a3eb9 commit d377e03

File tree

1 file changed

+2
-4
lines changed
  • Sources/Rendering/OpenGL/PolyDataMapper

1 file changed

+2
-4
lines changed

Sources/Rendering/OpenGL/PolyDataMapper/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1861,7 +1861,7 @@ function vtkOpenGLPolyDataMapper(publicAPI, model) {
18611861
poly.getPointData().getArrayByName(arrayName)
18621862
);
18631863
const toString =
1864-
poly.getMTime() +
1864+
`${poly.getMTime()}` +
18651865
`A${representation}` +
18661866
`B${poly.getMTime()}` +
18671867
`C${n ? n.getMTime() : 1}` +
@@ -1884,9 +1884,7 @@ function vtkOpenGLPolyDataMapper(publicAPI, model) {
18841884
useTCoordsPerCell,
18851885
haveCellScalars: model.haveCellScalars,
18861886
haveCellNormals: model.haveCellNormals,
1887-
customAttributes: model.renderable
1888-
.getCustomShaderAttributes()
1889-
.map((arrayName) => poly.getPointData().getArrayByName(arrayName)),
1887+
customAttributes: customAttributesArrays,
18901888
};
18911889

18921890
if (model.renderable.getPopulateSelectionSettings()) {

0 commit comments

Comments
 (0)