Gui: fix screenshot with opaque background
This commit is contained in:
@@ -2111,7 +2111,8 @@ void View3DInventorViewer::imageFromFramebuffer(int width, int height, int sampl
|
||||
bits++;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (alpha == 255)
|
||||
img = img.convertToFormat(QImage::Format_RGB32);
|
||||
}
|
||||
|
||||
void View3DInventorViewer::renderToFramebuffer(QtGLFramebufferObject* fbo)
|
||||
|
||||
Reference in New Issue
Block a user