Update STLLoader.cpp

If `faceVertexCounter` does not start equal 3, then at line 291 you will get a warning
pull/1073/head
Giuseppe Barbieri 2016-11-20 15:14:33 +01:00 committed by GitHub
parent 7ceaca61fd
commit b6fb1f3c05
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ void STLImporter::LoadASCIIFile()
} }
else pScene->mRootNode->mName.Set("<STL_ASCII>"); else pScene->mRootNode->mName.Set("<STL_ASCII>");
unsigned int faceVertexCounter = 0; unsigned int faceVertexCounter = 3;
for ( ;; ) for ( ;; )
{ {
// go to the next token // go to the next token