Thank you clang!
pull/3952/head
RichardTea 2021-06-11 15:25:02 +01:00
parent 985f3ee665
commit f412595887
1 changed files with 1 additions and 1 deletions

View File

@ -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