projects
/
platform
/
core
/
uifw
/
lottie-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34c12f2
)
lottie: use testFlag() api to test the flag.
15/195115/3
author
subhransu mohanty
<sub.mohanty@samsung.com>
Tue, 11 Dec 2018 01:50:07 +0000
(10:50 +0900)
committer
subhransu mohanty
<sub.mohanty@samsung.com>
Wed, 12 Dec 2018 04:31:27 +0000
(13:31 +0900)
Change-Id: I3ee5341c66562241f0d83ee396347804d5b0eb7d
src/lottie/lottieitem.cpp
patch
|
blob
|
history
diff --git
a/src/lottie/lottieitem.cpp
b/src/lottie/lottieitem.cpp
index
dcf3f8b
..
631dae1
100644
(file)
--- a/
src/lottie/lottieitem.cpp
+++ b/
src/lottie/lottieitem.cpp
@@
-389,7
+389,7
@@
void LOTLayerItem::update(int frameNumber, const VMatrix &parentMatrix,
}
// 5. if no parent property change and layer is static then nothing to do.
- if (
(flag() &
DirtyFlagBit::None) && isStatic()) return;
+ if (
flag().testFlag(
DirtyFlagBit::None) && isStatic()) return;
// 6. update the content of the layer
updateContent();