From: subhransu mohanty Date: Wed, 21 Nov 2018 01:50:21 +0000 (+0900) Subject: lottie/trim: fix regression, always modify the path in trim::update() call. X-Git-Tag: submit/tizen/20181129.071502~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=4eeb1e17af236ed2018238b33baeae21ce835803;p=platform%2Fcore%2Fuifw%2Flottie-player.git lottie/trim: fix regression, always modify the path in trim::update() call. Change-Id: I54e288bea3e2a84d574ebeb545dd36c033029233 --- diff --git a/src/lottie/lottieitem.cpp b/src/lottie/lottieitem.cpp index 7c9bdc5..a882a0a 100644 --- a/src/lottie/lottieitem.cpp +++ b/src/lottie/lottieitem.cpp @@ -967,8 +967,6 @@ void LOTTrimItem::update() // when both path and trim are not dirty if (!(mDirty || pathDirty())) return; - if (vCompare(std::fabs(mCache.mStart - mCache.mEnd) , 1)) return; - if (vCompare(mCache.mStart, mCache.mEnd)) { for (auto &i : mPathItems) { i->updatePath(VPath());