From 0751b14186ff8adedbf692c8c8010a4534c8e80d Mon Sep 17 00:00:00 2001 From: Mira Grudzinska Date: Wed, 28 Aug 2024 00:10:16 +0200 Subject: [PATCH] lottie: fix trim The bug caused the trim path to not be applied when it appeared in a group between different shapes. --- src/loaders/lottie/tvgLottieBuilder.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/loaders/lottie/tvgLottieBuilder.cpp b/src/loaders/lottie/tvgLottieBuilder.cpp index 51c5b745..f370e2f2 100644 --- a/src/loaders/lottie/tvgLottieBuilder.cpp +++ b/src/loaders/lottie/tvgLottieBuilder.cpp @@ -871,6 +871,7 @@ void LottieBuilder::updateTrimpath(TVG_UNUSED LottieGroup* parent, LottieObject* } P(ctx->propagator)->strokeTrim(begin, end, trimpath->type == LottieTrimpath::Type::Simultaneous); + ctx->merging = nullptr; }