From db4232cb4a37589aee3c0e8996d6a2eefb981fc7 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 30 Jun 2015 23:42:40 -0600 Subject: [PATCH] Fixed: Initialize members in LWSLoader --- code/LWSLoader.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/LWSLoader.h b/code/LWSLoader.h index 5b06f75cc..b31b815ee 100644 --- a/code/LWSLoader.h +++ b/code/LWSLoader.h @@ -85,7 +85,9 @@ public: struct NodeDesc { NodeDesc() - : number (0) + : type() + , id() + , number (0) , parent (0) , name ("") , isPivotSet (false) @@ -94,6 +96,7 @@ struct NodeDesc , lightType (0) , lightFalloffType (0) , lightConeAngle (45.f) + , lightEdgeAngle() , parent_resolved (NULL) {}