archrelease: copy trunk to extra-x86_64
[arch-packages.git] / qt5-quick3d / trunk / qt5-quick3d-assimp-5.1.patch
blob3bbae9cd614a5b63a6d59c1692d3caf0354b2c36
1 diff --git a/src/plugins/assetimporters/assimp/assimpimporter.cpp b/src/plugins/assetimporters/assimp/assimpimporter.cpp
2 index f3660fdd..0f5fc901 100644
3 --- a/src/plugins/assetimporters/assimp/assimpimporter.cpp
4 +++ b/src/plugins/assetimporters/assimp/assimpimporter.cpp
5 @@ -1082,9 +1082,7 @@ void AssimpImporter::generateMaterial(aiMaterial *material, QTextStream &output,
8 // SpecularGlossiness Properties
9 - bool hasSpecularGlossiness;
10 - result = material->Get(AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS, hasSpecularGlossiness);
11 - if (result == aiReturn_SUCCESS && hasSpecularGlossiness) {
12 + {
14 // diffuseFactor (color) // not used (yet), but ends up being diffuseColor
15 // {