[4.0] Bug fix at DevelAnimation::ProgressReashedSignal 31/159331/2
authorEunki Hong <eunkiki.hong@samsung.com>
Mon, 6 Nov 2017 07:10:35 +0000 (16:10 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Wed, 8 Nov 2017 08:11:57 +0000 (17:11 +0900)
commit5ea3da77665b6ebdb7d90b140d6111c7abda296d
treed82acb99c4c1a68c42850d9ee15b0380cba48ae6
parentc46df0a508dea7a21b7837f0548667e9bb98b6f0
[4.0] 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