소스 검색

Fix typo

Thank you clang!
RichardTea 4 년 전
부모
커밋
f412595887
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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