(Animation) Fix for issue in keyframed animation when only 1 key frame present
authorJulien Heanley <j.heanley@partner.samsung.com>
Mon, 24 Mar 2014 14:11:11 +0000 (14:11 +0000)
committerPaul Wisbey <p.wisbey@samsung.com>
Thu, 3 Apr 2014 15:56:46 +0000 (16:56 +0100)
commit8cb99c3546ecdecf0d0036a00baf4a5e42b8eaee
tree6b0946b3481110fd668b405d5903dbad923680a5
parent037a10228c022fe1ea228ce6f6f0d7824305a383
(Animation) Fix for issue in keyframed animation when only 1 key frame present

[Issue#]   N/A
[Problem]  Keyframe was not affecting property value
[Cause]    key frames only affect property if current progress is between first and last key frame (if only 1 key frame then it uses same time for first and last)
[Solution] if progress is greater than last key frame time then set property to last key frame

Signed-off-by: Paul Wisbey <p.wisbey@samsung.com>
dali/internal/event/animation/key-frame-channel.h