Skip to content

Commit

Permalink
Merge pull request #435 from Kitware/fix_mtime_camera_issue
Browse files Browse the repository at this point in the history
fix(Rendering): camera matricies were not being updated
  • Loading branch information
jourdain authored Nov 29, 2017
2 parents 50dee8f + 9faa4a4 commit c18b097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Rendering/OpenGL/PolyDataMapper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c18b097

Please sign in to comment.