diff --git a/Sources/Rendering/OpenGL/ImageMapper/index.js b/Sources/Rendering/OpenGL/ImageMapper/index.js index 4e25753fb64..2c949dac50c 100644 --- a/Sources/Rendering/OpenGL/ImageMapper/index.js +++ b/Sources/Rendering/OpenGL/ImageMapper/index.js @@ -486,7 +486,7 @@ function vtkOpenGLImageMapper(publicAPI, model) { const toString = `${nSlice}A${image.getMTime()}A${image .getPointData() .getScalars() - .getMTime()}B${publicAPI.getMTime()}`; + .getMTime()}B${publicAPI.getMTime()}C${model.renderable.getCurrentSlicingMode()}`; if (model.VBOBuildString !== toString) { // Build the VBOs const dims = image.getDimensions();