From cd63601831064a27c0bf6bf53009a42c88771ba5 Mon Sep 17 00:00:00 2001 From: Richard Date: Tue, 30 Jun 2015 23:37:31 -0600 Subject: [PATCH] Fixed: Initialize members in LWOAnimation --- code/LWOAnimation.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/LWOAnimation.h b/code/LWOAnimation.h index 9cd2fee3f..e80634f6f 100644 --- a/code/LWOAnimation.h +++ b/code/LWOAnimation.h @@ -113,7 +113,10 @@ enum PrePostBehaviour struct Key { Key() - : inter (IT_LINE) + : time(), + value(), + inter (IT_LINE), + params() {} //! Current time @@ -141,7 +144,8 @@ struct Key struct Envelope { Envelope() - : type (EnvelopeType_Unknown) + : index() + , type (EnvelopeType_Unknown) , pre (PrePostBehaviour_Constant) , post (PrePostBehaviour_Constant)