Explorar o código

Fix typo

Thank you clang!
RichardTea %!s(int64=4) %!d(string=hai) anos
pai
achega
f412595887
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      code/AssetLib/glTF2/glTF2Exporter.cpp

+ 1 - 1
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