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:
1f09869
)
lottie: take startFrame of composition layer into account while updating
77/192177/1
author
subhransu mohanty
<sub.mohanty@samsung.com>
Wed, 31 Oct 2018 08:18:55 +0000
(17:18 +0900)
committer
subhransu mohanty
<sub.mohanty@samsung.com>
Wed, 31 Oct 2018 08:18:55 +0000
(17:18 +0900)
children layers.
Change-Id: I693d18d8ba5757030f8166c263641ad900b8d835
src/lottie/lottieitem.cpp
patch
|
blob
|
history
diff --git
a/src/lottie/lottieitem.cpp
b/src/lottie/lottieitem.cpp
index
36a69d9
..
0df4247
100644
(file)
--- a/
src/lottie/lottieitem.cpp
+++ b/
src/lottie/lottieitem.cpp
@@
-399,7
+399,8
@@
void LOTCompLayerItem::render(VPainter *painter, const VRle &inheritMask, const
void LOTCompLayerItem::updateContent()
{
for (const auto &layer : mLayers) {
- layer->update( mLayerData->timeRemap(frameNo()), combinedMatrix(), combinedAlpha());
+ layer->update( mLayerData->timeRemap(frameNo()) - mLayerData->startFrame(),
+ combinedMatrix(), combinedAlpha());
}
}