diff --git a/Sources/Rendering/OpenGL/PolyDataMapper/index.js b/Sources/Rendering/OpenGL/PolyDataMapper/index.js index 723e2ac8a85..ebf098975ed 100644 --- a/Sources/Rendering/OpenGL/PolyDataMapper/index.js +++ b/Sources/Rendering/OpenGL/PolyDataMapper/index.js @@ -1152,7 +1152,7 @@ function vtkOpenGLPolyDataMapper(publicAPI, model) { const keyMats = model.openGLCamera.getKeyMatrices(ren); const cam = ren.getActiveCamera(); - const camm = cam.getMTime(); + const camm = model.openGLCamera.getKeyMatrixTime().getMTime(); const progm = program.getLastCameraMTime(); if (progm !== camm) {