Fixed: Initialize members in XFileHelper

pull/596/head
Richard 2015-06-30 23:29:19 -06:00
parent 3543bb7e5f
commit 5cc43ecfad
1 changed files with 6 additions and 2 deletions

View File

@ -89,7 +89,11 @@ struct Material
size_t sceneIndex; ///< the index under which it was stored in the scene's material list
Material() { mIsReference = false; sceneIndex = SIZE_MAX; }
Material()
: mIsReference(false),
mSpecularExponent(),
sceneIndex(SIZE_MAX)
{}
};
/** Helper structure to represent a bone weight */