Some lottie files use translucent layers as a mask. We can't ignore
them. This commit pass layer opacity to tree to fix rendering issues in
some lottie files.
Change-Id: I05eb2eb43755c2ca3aa2194daeded76613b4d7d4
_update_vg_tree(Tvg_Paint *root, const LOTLayerNode *layer, int depth EINA_UNUSED)
{
if (!layer->mVisible) return;
- if (layer->mAlpha == 0) return;
Tvg_Paint *ptree = NULL;
Tvg_Paint *mtarget = NULL;
LOTLayerNode *mlayer = NULL;
+ tvg_paint_set_opacity(root, layer->mAlpha);
+
//Is this layer a container layer?
for (unsigned int i = 0; i < layer->mLayerList.size; i++)
{