diff --git a/src/Rendering/VTKJS/Images/applyRenderedImage.js b/src/Rendering/VTKJS/Images/applyRenderedImage.js index fc7a4391..57744de1 100644 --- a/src/Rendering/VTKJS/Images/applyRenderedImage.js +++ b/src/Rendering/VTKJS/Images/applyRenderedImage.js @@ -182,7 +182,7 @@ function applyRenderedImage(context, event) { return } const dataArray = actorContext.fusedImage.getPointData().getScalars() - const range = dataArray.getRange(fusedImageIndex) + const range = dataArray.getRange(fusedImageIndex).slice() if (!actorContext.colorRangeBounds.has(componentIndex)) { context.service.send({ type: 'IMAGE_COLOR_RANGE_BOUNDS_CHANGED',