Commit 31b689de authored by Mathieu Westphal's avatar Mathieu Westphal Committed by Kitware Robot

Merge topic 'FixRubberBandZoomPixelData'

88120022 fix RubberBandZoom front buffer usage
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Utkarsh Ayachit's avatarUtkarsh Ayachit <utkarsh.ayachit@kitware.com>
Acked-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !4677
parents af9ec09c 88120022
......@@ -192,7 +192,7 @@ void vtkInteractorStyleRubberBandZoom::OnMouseMove()
}
}
this->Interactor->GetRenderWindow()->SetPixelData(0, 0, size[0]-1, size[1]-1, pixels, 1);
this->Interactor->GetRenderWindow()->SetPixelData(0, 0, size[0]-1, size[1]-1, pixels, 0);
this->Interactor->GetRenderWindow()->Frame();
tmpPixelArray->Delete();
......
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