From a9a8796f715eff09784d9b45f8a928bf693b9149 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 30 Jun 2015 23:27:22 -0600 Subject: [PATCH] Fixed: Initialize members in ACLoader --- code/ACLoader.cpp | 9 +++++++++ code/ACLoader.h | 1 + 2 files changed, 10 insertions(+) diff --git a/code/ACLoader.cpp b/code/ACLoader.cpp index bb7951670..637f51a77 100644 --- a/code/ACLoader.cpp +++ b/code/ACLoader.cpp @@ -129,6 +129,15 @@ static const aiImporterDesc desc = { // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer AC3DImporter::AC3DImporter() + : buffer(), + configSplitBFCull(), + configEvalSubdivision(), + mNumMeshes(), + mLights(), + lights(), + groups(), + polys(), + worlds() { // nothing to be done here } diff --git a/code/ACLoader.h b/code/ACLoader.h index 160acd2f7..57c48a823 100644 --- a/code/ACLoader.h +++ b/code/ACLoader.h @@ -130,6 +130,7 @@ public: , surfaces() , numRefs (0) , subDiv (0) + , crease() {} // Type description