lottie: Use the new addroundrect api to get uniform corner as expected from AE. 23/192223/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Thu, 1 Nov 2018 01:58:37 +0000 (10:58 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Thu, 1 Nov 2018 01:58:37 +0000 (10:58 +0900)
Change-Id: Ifcc1486a530d6ddd195bf45a4ea7bf4a4c8ddaa7

src/lottie/lottieitem.cpp

index 0df4247..0249bec 100644 (file)
@@ -692,7 +692,7 @@ void LOTRectItem::updatePath(VPath& path, int frameNo)
              size.y());
 
     path.reset();
-    path.addRoundRect(r, roundness, roundness, mData->direction());
+    path.addRoundRect(r, roundness, mData->direction());
     updateCache(frameNo, pos, size, roundness);
 }