From 2f0786068d4081a21f2550182336c941b5fa1530 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 30 Jun 2015 23:28:13 -0600 Subject: [PATCH] Fixed: Initialize members in MDLFileData --- code/MDLFileData.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/MDLFileData.h b/code/MDLFileData.h index 227ed6f5d..f97beadb5 100644 --- a/code/MDLFileData.h +++ b/code/MDLFileData.h @@ -841,6 +841,9 @@ struct IntGroupInfo_MDL7 IntGroupInfo_MDL7(BE_NCONST MDL::Group_MDL7* _pcGroup, unsigned int _iIndex) : iIndex(_iIndex) , pcGroup(_pcGroup) + , pcGroupUVs() + , pcGroupTris() + , pcGroupVerts() {} //! Index of the group @@ -896,6 +899,8 @@ struct IntSharedData_MDL7 { //! Default constructor IntSharedData_MDL7() + : apcOutBones(), + iNum() { abNeedMaterials.reserve(10); }