lottie/trim: fix regression, always modify the path in trim::update() call. 56/193456/1
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 21 Nov 2018 01:50:21 +0000 (10:50 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Wed, 21 Nov 2018 01:52:18 +0000 (10:52 +0900)
Change-Id: I54e288bea3e2a84d574ebeb545dd36c033029233

src/lottie/lottieitem.cpp

index 7c9bdc5..a882a0a 100644 (file)
@@ -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());