Fixed: Initialize members in MDLFileData

pull/596/head
Richard 2015-06-30 23:28:13 -06:00
parent c014a2ed21
commit 2f0786068d
1 changed files with 5 additions and 0 deletions

View File

@ -841,6 +841,9 @@ struct IntGroupInfo_MDL7
IntGroupInfo_MDL7(BE_NCONST MDL::Group_MDL7* _pcGroup, unsigned int _iIndex) IntGroupInfo_MDL7(BE_NCONST MDL::Group_MDL7* _pcGroup, unsigned int _iIndex)
: iIndex(_iIndex) : iIndex(_iIndex)
, pcGroup(_pcGroup) , pcGroup(_pcGroup)
, pcGroupUVs()
, pcGroupTris()
, pcGroupVerts()
{} {}
//! Index of the group //! Index of the group
@ -896,6 +899,8 @@ struct IntSharedData_MDL7
{ {
//! Default constructor //! Default constructor
IntSharedData_MDL7() IntSharedData_MDL7()
: apcOutBones(),
iNum()
{ {
abNeedMaterials.reserve(10); abNeedMaterials.reserve(10);
} }