From c69e047dfc01d910859b1bda676c37cb43e13571 Mon Sep 17 00:00:00 2001 From: Richard Date: Wed, 1 Jul 2015 19:01:10 -0600 Subject: [PATCH] Fixed: Initialize all members in STLImporter --- code/STLLoader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/STLLoader.cpp b/code/STLLoader.cpp index df1e7fe8a..fb05be760 100644 --- a/code/STLLoader.cpp +++ b/code/STLLoader.cpp @@ -106,6 +106,9 @@ bool IsAsciiSTL(const char* buffer, unsigned int fileSize) { // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer STLImporter::STLImporter() + : mBuffer(), + fileSize(), + pScene() {} // ------------------------------------------------------------------------------------------------