lottie/render: fixed regression in dash rendering. 03/185303/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Fri, 27 Jul 2018 09:50:42 +0000 (18:50 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Fri, 27 Jul 2018 09:50:42 +0000 (18:50 +0900)
Change-Id: I3f4a4aa5d990b9386ddf2ceddc141c2ac83cda76

src/vector/vdrawable.cpp

index 5a13edc..fdeebe8 100644 (file)
@@ -11,7 +11,7 @@ void VDrawable::preprocess()
                 VDasher dasher(mStroke.dashArray, mStroke.dashArraySize);
                 newPath = dasher.dashed(mPath);
             }
-            mRleTask = VRaster::instance().generateStrokeInfo(mPath, mStroke.cap, mStroke.join,
+            mRleTask = VRaster::instance().generateStrokeInfo(newPath, mStroke.cap, mStroke.join,
                                                               mStroke.width, mStroke.meterLimit);
         } else {
             mRleTask = VRaster::instance().generateFillInfo(mPath, mFillRule);