path: root/src/lib
diff options
authorHermet Park <hermetpark@gmail.com>2019-01-08 13:00:29 +0900
committerHermet Park <hermetpark@gmail.com>2019-01-08 13:09:47 +0900
commit3008bc4784ca162305e4d9686079bb76c355605e (patch)
tree7520858becd712fe99157d247070174527dac0e3 /src/lib
parentdoc: Add support for DocFX (C# doc generator) (diff)
evas vg: enable visibility true by default.
So far, vg shapes had been rendered regardless of its visibility. Recently, I pushed a patch - fa1420965dd264fc8836d133a3215b94e423b8bf not to render nodes which is invisible. This occurred a side effect because previous vg implementations didn't take care of nodes visiblity. It means, though vg users didn't make nodes visible but nodes were rendered in unintended way. This is a sort of compatibility problem but I can't let vg users to change their nodes visible by calling visible set api explicity. Instead, I'm gonna change the nodes visibility default value to true so that skiping invisible nodes and compatibility issue as well.
Diffstat (limited to 'src/lib')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_node.c b/src/lib/evas/canvas/efl_canvas_vg_node.c
index 50dbaac70a..fba95e7924 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_node.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_node.c
@@ -248,6 +248,7 @@ _efl_canvas_vg_node_efl_object_constructor(Eo *obj,
nd->changed = EINA_TRUE;
+ nd->visibility = EINA_TRUE;
return obj;