From 28c3b49b1774028aad458d665a0772713427a3fc Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 11 Aug 2012 21:29:41 +0300 Subject: [PATCH] Add missing set_looping implementation --- source/animation.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/animation.cpp b/source/animation.cpp index 53543d1b..9f93a8d4 100644 --- a/source/animation.cpp +++ b/source/animation.cpp @@ -28,6 +28,11 @@ void Animation::add_keyframe(const Time::TimeDelta &t, const KeyFrame &kf) keyframes.push_back(tkf); } +void Animation::set_looping(bool l) +{ + looping = l; +} + void Animation::prepare_keyframe(TimedKeyFrame &tkf) { tkf.prev = (keyframes.empty() ? 0 : &keyframes.back()); -- 2.43.0