Commit af5d537c authored by David Gobbi's avatar David Gobbi

The vtkImageResliceMapper was needlessly recomputing.

The ResliceNeedUpdate flag was not being reset after each update.  It
looks like the developer (myself) was playing with this flag during a
debugging session, and forgot to set it to the correct value before
committing the code.
parent 51dc7b71
......@@ -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