From b6fb1f3c05381722587f3e0e95e02a3dde3d010c Mon Sep 17 00:00:00 2001 From: Giuseppe Barbieri Date: Sun, 20 Nov 2016 15:14:33 +0100 Subject: [PATCH] Update STLLoader.cpp If `faceVertexCounter` does not start equal 3, then at line 291 you will get a warning --- code/STLLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/STLLoader.cpp b/code/STLLoader.cpp index c2cffdb..0571e54 100644 --- a/code/STLLoader.cpp +++ b/code/STLLoader.cpp @@ -274,7 +274,7 @@ void STLImporter::LoadASCIIFile() } else pScene->mRootNode->mName.Set(""); - unsigned int faceVertexCounter = 0; + unsigned int faceVertexCounter = 3; for ( ;; ) { // go to the next token -- 2.7.4