From 4eeb1e17af236ed2018238b33baeae21ce835803 Mon Sep 17 00:00:00 2001 From: subhransu mohanty Date: Wed, 21 Nov 2018 10:50:21 +0900 Subject: [PATCH] lottie/trim: fix regression, always modify the path in trim::update() call. Change-Id: I54e288bea3e2a84d574ebeb545dd36c033029233 --- src/lottie/lottieitem.cpp | 2 -- 1 file changed, 2 deletions(-) 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()); -- 2.7.4