From c331df69d7014c1df476461a334abb0c67703169 Mon Sep 17 00:00:00 2001 From: Richard Date: Thu, 2 Jul 2015 05:46:33 -0600 Subject: [PATCH] Fixed: Initialize all members in MeshHelper --- tools/assimp_view/AssetHelper.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/assimp_view/AssetHelper.h b/tools/assimp_view/AssetHelper.h index 390f0c6b9..05ba1f6ab 100644 --- a/tools/assimp_view/AssetHelper.h +++ b/tools/assimp_view/AssetHelper.h @@ -145,6 +145,7 @@ namespace AssimpView { MeshHelper() : + eShadingMode(), piVB( NULL ), piIB( NULL ), piVBNormals( NULL ), @@ -158,6 +159,9 @@ namespace AssimpView { piOpacityTexture( NULL ), piShininessTexture( NULL ), piLightmapTexture( NULL ), + fOpacity(), + fShininess(), + fSpecularStrength() twosided( false ), pvOriginalNormals( NULL ) {}