[rlottie]: clear any existing brush data before drawing bitmap. 70/201370/1 submit/tizen/20190314.062257 submit/tizen/20190314.080413 submit/tizen/20190314.103410
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 13 Mar 2019 06:57:03 +0000 (15:57 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Wed, 13 Mar 2019 07:59:39 +0000 (16:59 +0900)
Change-Id: I13328147ffd29d09dd8bfc8a9b374bbf20fea4a4

src/vector/vpainter.cpp

index 39b19f6..f4fea33 100644 (file)
@@ -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 {