Merge branch 'master' into fix-fbx-metalness-import

This commit is contained in:
Vyacheslav Vanin
2021-12-17 12:08:55 +03:00
committed by GitHub
4 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -393,7 +393,7 @@ void LWOImporter::InternReadFile(const std::string &pFile,
// If a RGB color map is explicitly requested delete the
// alpha channel - it could theoretically be != 1.
if (_mSurfaces[i].mVCMapType == AI_LWO_RGB)
if (_mSurfaces[j].mVCMapType == AI_LWO_RGB)
pvVC[w]->a = 1.f;
pvVC[w]++;