|author||Hermet Park <email@example.com>||2019-01-08 13:00:29 +0900|
|committer||Hermet Park <firstname.lastname@example.org>||2019-01-08 13:09:47 +0900|
|parent||doc: 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.
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
@@ -248,6 +248,7 @@ _efl_canvas_vg_node_efl_object_constructor(Eo *obj,
nd->flags = EFL_GFX_CHANGE_FLAG_ALL;
nd->changed = EINA_TRUE;
+ nd->visibility = EINA_TRUE;