Commit d6b9c46a authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot

Merge topic 'slicemapper-matrix'

51dc7b71 Fix interaction bug in OpenGL2 vtkImageSlice/ResliceMapper.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Aashish Chaudhary's avatarAashish Chaudhary <aashish.chaudhary@kitware.com>
Merge-request: !828
parents 0fb557cb 51dc7b71
......@@ -163,9 +163,8 @@ void vtkImageResliceMapper::Render(vtkRenderer *ren, vtkImageSlice *prop)
// delegate to vtkImageSliceMapper
this->SliceMapper->SetInputConnection(
this->ImageReslice->GetOutputPort());
vtkMatrix4x4::DeepCopy(
*this->SliceMapper->GetDataToWorldMatrix()->Element,
*this->SliceToWorldMatrix->Element);
this->SliceMapper->GetDataToWorldMatrix()->DeepCopy(
this->SliceToWorldMatrix);
// the mapper uses SliceFacesCamera to decide whether to use a polygon
// for the texture versus using a quad the size of the window
this->SliceMapper->SetSliceFacesCamera(
......
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