Update STLLoader.cpp

If `faceVertexCounter` does not start equal 3, then at line 291 you will get a warning
This commit is contained in:
Giuseppe Barbieri
2016-11-20 15:14:33 +01:00
committed by GitHub
parent 7ceaca61fd
commit b6fb1f3c05

View File

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