Commit 06ad5dec authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot

Merge topic 'reslicemapper-update'

af5d537c The vtkImageResliceMapper was needlessly recomputing.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !832
parents c422bbf6 af5d537c
......@@ -146,7 +146,7 @@ void vtkImageResliceMapper::Render(vtkRenderer *ren, vtkImageSlice *prop)
this->ImageReslice->SetInputConnection(
this->GetInputConnection(0, 0));
this->ImageReslice->UpdateWholeExtent();
this->ResliceNeedUpdate = 1;
this->ResliceNeedUpdate = 0;
}
// apply checkerboard pattern (should have timestamps)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment