BUGFIX: Fix typo in PlyLoader.cpp. Thanks to Chris Maiwald for the bugreport.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@529 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2010-01-19 16:32:41 +00:00
parent 4b45802736
commit 1c0f3f1b2e
2 changed files with 6 additions and 3 deletions

View File

@@ -978,7 +978,7 @@ void PLYImporter::LoadMaterial(std::vector<MaterialHelper*>* pvOut)
}
else if (PLY::EST_AmbientBlue == (*a).Semantic)
{
aaiPositions[22][2] = _a;
aaiPositions[2][2] = _a;
aaiTypes[2][2] = (*a).eType;
}
else if (PLY::EST_AmbientAlpha == (*a).Semantic)