evas: Fix no update issue if visiblity of smart object has change

Summary: If child has change about visibility, can't check it correctly.

Reviewers: jypark, cedric, jpeg, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D4345
This commit is contained in:
jiin.moon 2016-10-11 21:08:29 +09:00 committed by Hermet Park
parent 02dab21804
commit 846c14a392
1 changed files with 1 additions and 1 deletions

View File

@ -1036,7 +1036,7 @@ evas_object_smart_changed_get(Evas_Object *eo_obj)
for rendering. */
//a. Object itself visibility
if (obj->no_render || !(obj->prev->visible && obj->cur->visible) ||
if (obj->no_render || (!obj->prev->visible && !obj->cur->visible) ||
((obj->prev->color.a == 0) && (obj->cur->color.a == 0)))
return EINA_FALSE;