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:
62e47d4
)
rlottie: Fix issue with intersect mask
33/202633/2
submit/tizen/20190402.051338
submit/tizen/20190402.080200
submit/tizen/20190403.050239
author
JunsuChoi
<jsuya.choi@samsung.com>
Tue, 2 Apr 2019 01:31:45 +0000
(10:31 +0900)
committer
junsu choi
<jsuya.choi@samsung.com>
Tue, 2 Apr 2019 05:11:13 +0000
(
05:11
+0000)
When do an Intersect mask, it need to initialize rle like a Subtract.
Change-Id: I931835b8845ffa23d2032cbd70026ddee5cb7882
src/lottie/lottieitem.cpp
patch
|
blob
|
history
diff --git
a/src/lottie/lottieitem.cpp
b/src/lottie/lottieitem.cpp
index
dc99df6
..
7de1198
100644
(file)
--- a/
src/lottie/lottieitem.cpp
+++ b/
src/lottie/lottieitem.cpp
@@
-342,6
+342,8
@@
VRle LOTLayerMaskItem::maskRle(const VRect &clipRect)
break;
}
case LOTMaskData::Mode::Intersect: {
+ if (rle.empty() && !clipRect.empty())
+ rle = VRle::toRle(clipRect);
rle = rle & i.rle();
break;
}