fix index variable for surfaces

Closes: https://github.com/assimp/assimp/issues/4209
pull/4226/head
IOhannes m zmölnig 2021-12-07 12:13:31 +01:00
parent 70f5cca9c3
commit 6e090c88b8
1 changed files with 1 additions and 1 deletions

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]++;