summaryrefslogtreecommitdiff
path: root/x11-toolkits/qt5-quick3d/files/patch-arch_qt5-quick3d-assimp-5.1
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/qt5-quick3d/files/patch-arch_qt5-quick3d-assimp-5.1')
-rw-r--r--x11-toolkits/qt5-quick3d/files/patch-arch_qt5-quick3d-assimp-5.117
1 files changed, 17 insertions, 0 deletions
diff --git a/x11-toolkits/qt5-quick3d/files/patch-arch_qt5-quick3d-assimp-5.1 b/x11-toolkits/qt5-quick3d/files/patch-arch_qt5-quick3d-assimp-5.1
new file mode 100644
index 000000000000..c6ed41c4bf20
--- /dev/null
+++ b/x11-toolkits/qt5-quick3d/files/patch-arch_qt5-quick3d-assimp-5.1
@@ -0,0 +1,17 @@
+Obtained from: https://github.com/archlinux/svntogit-packages/blob/packages/qt5-quick3d/trunk/qt5-quick3d-assimp-5.1.patch
+
+diff --git src/plugins/assetimporters/assimp/assimpimporter.cpp src/plugins/assetimporters/assimp/assimpimporter.cpp
+index f3660fdd..0f5fc901 100644
+--- src/plugins/assetimporters/assimp/assimpimporter.cpp
++++ src/plugins/assetimporters/assimp/assimpimporter.cpp
+@@ -1082,9 +1082,7 @@ void AssimpImporter::generateMaterial(aiMaterial *material, QTextStream &output,
+ }
+
+ // SpecularGlossiness Properties
+- bool hasSpecularGlossiness;
+- result = material->Get(AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS, hasSpecularGlossiness);
+- if (result == aiReturn_SUCCESS && hasSpecularGlossiness) {
++ {
+
+ // diffuseFactor (color) // not used (yet), but ends up being diffuseColor
+ // {