Summary:
In e850e3e, the code to initialize this property is missing.
That makes the object invisible when printing svg through edje.
This is a patch to fix it.
@fix
Test Plan: N/A
Reviewers: Hermet, smohanty, kimcinoo
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9833
Change-Id: I36370ab055bb89ddb201d8a4763136bfccbf9ab2
// apply the transformation
if (node->transform) efl_canvas_vg_node_transformation_set(vg, node->transform);
- if (!node->display) efl_gfx_entity_visible_set(vg, EINA_FALSE);
+ if (node->type != SVG_NODE_DOC && !node->display) efl_gfx_entity_visible_set(vg, EINA_FALSE);
if ((node->type == SVG_NODE_G) || (node->type == SVG_NODE_DOC)) return;
node->id = eina_stringshare_add(id);
}
+ node->display = efl_gfx_entity_visible_get(vg);
+
if (node->type == SVG_NODE_G) return;
// apply the fill style property