forked from enlightenment/efl
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.
This commit is contained in:
parent
2d8f3fba46
commit
3008bc4784
|
@ -248,6 +248,7 @@ _efl_canvas_vg_node_efl_object_constructor(Eo *obj,
|
||||||
|
|
||||||
nd->flags = EFL_GFX_CHANGE_FLAG_ALL;
|
nd->flags = EFL_GFX_CHANGE_FLAG_ALL;
|
||||||
nd->changed = EINA_TRUE;
|
nd->changed = EINA_TRUE;
|
||||||
|
nd->visibility = EINA_TRUE;
|
||||||
|
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue