diff options
-rw-r--r-- | dist/changes-5.11.0 | 2 | ||||
-rw-r--r-- | src/plugins/sceneparsers/gltf/gltfimporter.cpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/dist/changes-5.11.0 b/dist/changes-5.11.0 index a2b58e9b9..2a6a29c2d 100644 --- a/dist/changes-5.11.0 +++ b/dist/changes-5.11.0 @@ -25,4 +25,6 @@ information about a particular change. [QTBUG-66581] Add support for mapping fragment shader output variables names to color numbers / attachment points - Updated internal ASSIMP to 4.1 + - The glTF SceneLoader backend no longer mirrors texture images by + default. - Numerous minor bug fixes and performance improvements diff --git a/src/plugins/sceneparsers/gltf/gltfimporter.cpp b/src/plugins/sceneparsers/gltf/gltfimporter.cpp index 9b8057334..333a6b55b 100644 --- a/src/plugins/sceneparsers/gltf/gltfimporter.cpp +++ b/src/plugins/sceneparsers/gltf/gltfimporter.cpp @@ -1549,6 +1549,7 @@ void GLTFImporter::processJSONTexture(const QString &id, const QJsonObject &json } QTextureImage *texImage = new QTextureImage(tex); + texImage->setMirrored(false); texImage->setSource(QUrl::fromLocalFile(imagIt.value())); tex->addTextureImage(texImage); |