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:
0b770c6
)
[rlottie]: clear any existing brush data before drawing bitmap.
70/201370/1
submit/tizen/20190314.062257
submit/tizen/20190314.080413
submit/tizen/20190314.103410
author
subhransu mohanty
<sub.mohanty@samsung.com>
Wed, 13 Mar 2019 06:57:03 +0000
(15:57 +0900)
committer
subhransu mohanty
<sub.mohanty@samsung.com>
Wed, 13 Mar 2019 07:59:39 +0000
(16:59 +0900)
Change-Id: I13328147ffd29d09dd8bfc8a9b374bbf20fea4a4
src/vector/vpainter.cpp
patch
|
blob
|
history
diff --git
a/src/vector/vpainter.cpp
b/src/vector/vpainter.cpp
index
39b19f6
..
f4fea33
100644
(file)
--- a/
src/vector/vpainter.cpp
+++ b/
src/vector/vpainter.cpp
@@
-168,6
+168,9
@@
void VPainter::drawBitmap(const VRect &target, const VBitmap &bitmap, const VRe
{
if (!bitmap.valid()) return;
+ // clear any existing brush data.
+ setBrush(VBrush());
+
if (target.size() == source.size()) {
mImpl->drawBitmapUntransform(target, bitmap, source);
} else {