mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00
lottie: fixed a regression bug of a weird artififact observation
this reverts a logic that was introduced by https://github.com/thorvg/thorvg/pull/3167 this logic change was not necessary thus revert it.
This commit is contained in:
parent
5b30e2ad65
commit
66a30b2c50
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ static bool _updateTransform(LottieTransform* transform, float frameNo, Matrix&
|
|||
translateR(&matrix, -transform->anchor(frameNo, tween, exps));
|
||||
|
||||
//invisible just in case.
|
||||
if (tvg::zero(scale)) opacity = 0;
|
||||
if (scale.x == 0.0f || scale.y == 0.0f) opacity = 0;
|
||||
else opacity = transform->opacity(frameNo, tween, exps);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue