From fbf75963dc73c4bb70001f358989ed8ebb0ce6ac Mon Sep 17 00:00:00 2001 From: RichardTea <31507749+RichardTea@users.noreply.github.com> Date: Fri, 11 Jun 2021 15:25:02 +0100 Subject: [PATCH] Fix typo Thank you clang! --- code/AssetLib/glTF2/glTF2Exporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetLib/glTF2/glTF2Exporter.cpp b/code/AssetLib/glTF2/glTF2Exporter.cpp index 7e0966aff..40ba41c20 100644 --- a/code/AssetLib/glTF2/glTF2Exporter.cpp +++ b/code/AssetLib/glTF2/glTF2Exporter.cpp @@ -655,7 +655,7 @@ bool glTF2Exporter::GetMatSpecGloss(const aiMaterial &mat, glTF2::PbrSpecularGlo // Add any appropriate textures GetMatTex(mat, pbrSG.specularGlossinessTexture, aiTextureType_SPECULAR); - result == result || pbrSG.specularGlossinessTexture.texture; + result = result || pbrSG.specularGlossinessTexture.texture; if (result) { // Likely to always have diffuse