projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix issue, agif to play a number of times of loopcount.
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
visuals
/
animated-image
/
animated-image-visual.cpp
diff --git
a/dali-toolkit/internal/visuals/animated-image/animated-image-visual.cpp
b/dali-toolkit/internal/visuals/animated-image/animated-image-visual.cpp
index
f2160ef
..
b1463ba
100755
(executable)
--- a/
dali-toolkit/internal/visuals/animated-image/animated-image-visual.cpp
+++ b/
dali-toolkit/internal/visuals/animated-image/animated-image-visual.cpp
@@
-615,7
+615,7
@@
bool AnimatedImageVisual::DisplayNextFrame()
// Wrap the frame index
++mCurrentFrameIndex;
- if( mLoopCount < 0 || mCurrentLoopIndex <
=
mLoopCount)
+ if( mLoopCount < 0 || mCurrentLoopIndex < mLoopCount)
{
mCurrentFrameIndex %= mFrameCount;
if( mCurrentFrameIndex == 0 )