lottie: fix trim

The bug caused the trim path to not be applied
when it appeared in a group between different
shapes.
This commit is contained in:
Mira Grudzinska 2024-08-28 00:10:16 +02:00 committed by Hermet Park
parent bd5728a140
commit 0751b14186

View file

@ -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;
}