Added initializer

This commit is contained in:
Robert Osfield 2016-06-22 12:10:49 +01:00
parent a5ec8b7eda
commit 5955d362a6

View File

@ -30,7 +30,10 @@ namespace osgAnimation
public: public:
META_Object(osgAnimation, Animation) 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&); Animation(const osgAnimation::Animation&, const osg::CopyOp&);
enum PlayMode enum PlayMode