mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-15 12:34:30 +00:00
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:
parent
bd5728a140
commit
0751b14186
1 changed files with 1 additions and 0 deletions
|
@ -871,6 +871,7 @@ void LottieBuilder::updateTrimpath(TVG_UNUSED LottieGroup* parent, LottieObject*
|
||||||
}
|
}
|
||||||
|
|
||||||
P(ctx->propagator)->strokeTrim(begin, end, trimpath->type == LottieTrimpath::Type::Simultaneous);
|
P(ctx->propagator)->strokeTrim(begin, end, trimpath->type == LottieTrimpath::Type::Simultaneous);
|
||||||
|
ctx->merging = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue