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:
dcbdcac
)
lottie/trim: fix regression, always modify the path in trim::update() call.
56/193456/1
author
subhransu mohanty
<sub.mohanty@samsung.com>
Wed, 21 Nov 2018 01:50:21 +0000
(10:50 +0900)
committer
subhransu mohanty
<sub.mohanty@samsung.com>
Wed, 21 Nov 2018 01:52:18 +0000
(10:52 +0900)
Change-Id: I54e288bea3e2a84d574ebeb545dd36c033029233
src/lottie/lottieitem.cpp
patch
|
blob
|
history
diff --git
a/src/lottie/lottieitem.cpp
b/src/lottie/lottieitem.cpp
index
7c9bdc5
..
a882a0a
100644
(file)
--- a/
src/lottie/lottieitem.cpp
+++ b/
src/lottie/lottieitem.cpp
@@
-967,8
+967,6
@@
void LOTTrimItem::update()
// when both path and trim are not dirty
if (!(mDirty || pathDirty())) return;
- if (vCompare(std::fabs(mCache.mStart - mCache.mEnd) , 1)) return;
-
if (vCompare(mCache.mStart, mCache.mEnd)) {
for (auto &i : mPathItems) {
i->updatePath(VPath());