From d786b4f836c0f12ba4a6dd06803cbe771ac371e3 Mon Sep 17 00:00:00 2001 From: Thomas BAUDIER Date: Tue, 22 Oct 2019 09:29:09 +0200 Subject: [PATCH] Remove transparency for screenshot For some computers, it leads to empty images --- vv/vvMainWindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 8107d7f..8d2690f 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -3426,7 +3426,7 @@ void vvMainWindow::SaveScreenshot(QVTKWidget *widget) #else w2i->SetMagnification(1); #endif - w2i->SetInputBufferTypeToRGBA(); //also record the alpha (transparency) channel + //w2i->SetInputBufferTypeToRGBA(); //also record the alpha (transparency) channel w2i->Update(); vtkImageData *image = w2i->GetOutput(); -- 2.47.1