Commit 88120022 authored by Mathieu Westphal's avatar Mathieu Westphal

fix RubberBandZoom front buffer usage

parent ab36828e
......@@ -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