From a6f8b254b77c0981824e2d67902f32e18efa1215 Mon Sep 17 00:00:00 2001 From: Piotr Kalota Date: Mon, 18 Jan 2021 15:17:13 +0100 Subject: [PATCH] evas vector: Fix changing visibility of container Change-Id: Ia6df0e34fb9630aedf5eaecfac9c77b459b28d1a --- src/lib/evas/canvas/efl_canvas_vg_container.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/evas/canvas/efl_canvas_vg_container.c b/src/lib/evas/canvas/efl_canvas_vg_container.c index 6b3b041..b470b4d 100644 --- a/src/lib/evas/canvas/efl_canvas_vg_container.c +++ b/src/lib/evas/canvas/efl_canvas_vg_container.c @@ -64,6 +64,9 @@ _efl_canvas_vg_container_render_pre_tvg(Evas_Object_Protected_Data *obj, tvg_scene_clear(cd->scene); + if (!nd->visibility) + return; + if (scene != NULL) tvg_scene_push(scene, cd->scene); else if (scene == NULL && canvas != NULL) -- 2.7.4