]> git.tdb.fi Git - libs/gl.git/blobdiff - source/animation.h
Refactor KeyFrame ownership management in Animation
[libs/gl.git] / source / animation.h
index 43cfc2894013016ec9018244e60c5bff0b2a7f26..7b86eca9b162a56cd38e29ae1c17f05a326bce3b 100644 (file)
@@ -168,7 +168,7 @@ public:
        void add_keyframe(const Time::TimeDelta &, const KeyFrame &, float, float);
        void add_control_keyframe(const KeyFrame &);
 private:
-       void add_keyframe(const Time::TimeDelta &, const RefPtr<const KeyFrame> &, bool);
+       void add_keyframe(const Time::TimeDelta &, const KeyFrame *, bool, bool);
        void prepare_keyframe(TimedKeyFrame &);
        void create_curves();
        template<unsigned N, typename T>