Fixed: Initialize all members in MeshHelper

pull/596/head
Richard 2015-07-02 05:46:33 -06:00
parent 987034e080
commit c331df69d7
1 changed files with 4 additions and 0 deletions

View File

@ -145,6 +145,7 @@ namespace AssimpView {
MeshHelper() MeshHelper()
: :
eShadingMode(),
piVB( NULL ), piVB( NULL ),
piIB( NULL ), piIB( NULL ),
piVBNormals( NULL ), piVBNormals( NULL ),
@ -158,6 +159,9 @@ namespace AssimpView {
piOpacityTexture( NULL ), piOpacityTexture( NULL ),
piShininessTexture( NULL ), piShininessTexture( NULL ),
piLightmapTexture( NULL ), piLightmapTexture( NULL ),
fOpacity(),
fShininess(),
fSpecularStrength()
twosided( false ), twosided( false ),
pvOriginalNormals( NULL ) pvOriginalNormals( NULL )
{} {}