mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 13:58:47 +02:00
Merge branch 'master' of https://github.com/highfidelity/hifi into fix_models_upload
This commit is contained in:
commit
c8d81e1ed6
1 changed files with 1 additions and 1 deletions
|
@ -313,7 +313,7 @@ void ImageReader::run() {
|
|||
int imageArea = image.width() * image.height();
|
||||
if (opaquePixels == imageArea) {
|
||||
qDebug() << "Image with alpha channel is completely opaque:" << url;
|
||||
image.convertToFormat(QImage::Format_RGB888);
|
||||
image = image.convertToFormat(QImage::Format_RGB888);
|
||||
}
|
||||
QMetaObject::invokeMethod(texture.data(), "setImage", Q_ARG(const QImage&, image),
|
||||
Q_ARG(bool, translucentPixels >= imageArea / 2));
|
||||
|
|
Loading…
Reference in a new issue