Bug fix at DevelAnimation::ProgressReashedSignal 71/158971/1
authorEunki Hong <eunkiki.hong@samsung.com>
Mon, 6 Nov 2017 07:10:35 +0000 (16:10 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Mon, 6 Nov 2017 07:22:07 +0000 (16:22 +0900)
commitec18bfc8801217432e672fe40f8d50b98d1c70cb
tree00f75efa2f77351d65ed234d8bd794b8643c3578
parentc5ef0c903b07c35aeecd129109b12f42bb9a96a6
Bug fix at DevelAnimation::ProgressReashedSignal

Fix one bug in this patch

Progress reach signal required value were initialized when loop is done.
But if mLoopCount == 0 (unlimited looping) then signal required value is not initialized.

See UtcDaliAnimationProgressCallbackWithLoopingP() and UtcDaliAnimaionProgressCallbackWithLoopingP2().
P() use SetLoopCount and P2() use SetLooping(true).
Previous version only pass P() and fail P2().
now both P() and P2() will pass

Change-Id: Ie60ea087a00afb8a919cb935b083f207a1e34557
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali/utc-Dali-Animation.cpp
dali/internal/update/animation/scene-graph-animation.cpp