aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-01-07 19:23:37 +0900
committerHermet Park <hermetpark@gmail.com>2019-01-07 19:28:14 +0900
commit71776d2153d44657673aaf944c02b687b3b11d1b (patch)
treeeb468db223c5a32dd743f5d62d20933a75c120c0 /src/lib
parenteo: move definitions of priority from Eo.h to the object (diff)
downloadefl-71776d2153d44657673aaf944c02b687b3b11d1b.tar.gz
evas vg: don't draw invisible nodes.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_object.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_object.c b/src/lib/evas/canvas/efl_canvas_vg_object.c
index 6b64b7a7fe..4ebf00d875 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_object.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_object.c
@@ -361,6 +361,8 @@ _evas_vg_render(Evas_Object_Protected_Data *obj, Efl_Canvas_Vg_Object_Data *pd,
void *engine, void *output, void *context, Efl_VG *node,
Eina_Array *clips, Eina_Bool do_async)
{
+ if (!efl_gfx_entity_visible_get(node)) return;
+
if (efl_isa(node, EFL_CANVAS_VG_CONTAINER_CLASS))
{
Efl_Canvas_Vg_Container_Data *cd =