Merge pull request #1147 from elect86/patch-5

Update PlyLoader.cpp, typo
pull/939/merge
Kim Kulling 2017-01-20 21:15:14 +01:00 committed by GitHub
commit 0414b9c69d
1 changed files with 2 additions and 2 deletions

View File

@ -653,7 +653,7 @@ void PLYImporter::LoadVertexColor(std::vector<aiColor4D>* pvOut)
unsigned int cnt = 0; unsigned int cnt = 0;
PLY::ElementInstanceList* pcList = NULL; PLY::ElementInstanceList* pcList = NULL;
// serach in the DOM for a vertex entry // search in the DOM for a vertex entry
unsigned int _i = 0; unsigned int _i = 0;
for (std::vector<PLY::Element>::const_iterator i = pcDOM->alElements.begin(); for (std::vector<PLY::Element>::const_iterator i = pcDOM->alElements.begin();
i != pcDOM->alElements.end();++i,++_i) i != pcDOM->alElements.end();++i,++_i)
@ -758,7 +758,7 @@ void PLYImporter::LoadFaces(std::vector<PLY::Face>* pvOut)
unsigned int iMaterialIndex = 0xFFFFFFFF; unsigned int iMaterialIndex = 0xFFFFFFFF;
PLY::EDataType eType2 = EDT_Char; PLY::EDataType eType2 = EDT_Char;
// serach in the DOM for a face entry // search in the DOM for a face entry
unsigned int _i = 0; unsigned int _i = 0;
for (std::vector<PLY::Element>::const_iterator i = pcDOM->alElements.begin(); for (std::vector<PLY::Element>::const_iterator i = pcDOM->alElements.begin();
i != pcDOM->alElements.end();++i,++_i) i != pcDOM->alElements.end();++i,++_i)