X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fanimation%2Fanimation.h;h=7d55bb61b7be33e01c7ed851fe08111784ad15b6;hp=eb5911c32a4d08a6c441cabddbd56231aa05f56d;hb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;hpb=3bc34893905a2df622894aadcb6669f27f186772 diff --git a/source/animation/animation.h b/source/animation/animation.h index eb5911c3..7d55bb61 100644 --- a/source/animation/animation.h +++ b/source/animation/animation.h @@ -163,16 +163,15 @@ public: }; private: - const Armature *armature; + const Armature *armature = 0; std::vector keyframes; std::vector events; - bool looping; + bool looping = false; std::vector uniforms; std::vector curves; - unsigned uniform_curve_offset; + unsigned uniform_curve_offset = 0; public: - Animation(); ~Animation(); void set_armature(const Armature &);