From 5955d362a6001f28ed74ef66a384b5fe5715aba9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 22 Jun 2016 12:10:49 +0100 Subject: [PATCH] Added initializer --- include/osgAnimation/Animation | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/osgAnimation/Animation b/include/osgAnimation/Animation index 99f1ded1d..7f00b12a4 100644 --- a/include/osgAnimation/Animation +++ b/include/osgAnimation/Animation @@ -30,7 +30,10 @@ namespace osgAnimation public: META_Object(osgAnimation, Animation) - Animation() : _duration(0), _weight(0), _startTime(0), _playmode(LOOP) {} + Animation() : + _duration(0.0), _originalDuration(0.0), + _weight(0), _startTime(0), _playmode(LOOP) {} + Animation(const osgAnimation::Animation&, const osg::CopyOp&); enum PlayMode