Gui: fix screenshot with opaque background
This commit is contained in:
@@ -818,6 +818,9 @@ SoQtOffscreenRenderer::writeToImage (QImage& img) const
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (PRIVATE(this)->backgroundcolor[3] == 1.0) {
|
||||
img = img.convertToFormat(QImage::Format_RGB32);
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user