hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=846c14a3925e22b0eec7a7864b6cd8875211e611

commit 846c14a3925e22b0eec7a7864b6cd8875211e611
Author: jiin.moon <[email protected]>
Date:   Tue Oct 11 21:08:29 2016 +0900

    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
---
 src/lib/evas/canvas/evas_object_smart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_smart.c 
b/src/lib/evas/canvas/evas_object_smart.c
index a42a2f7..cb71711 100644
--- a/src/lib/evas/canvas/evas_object_smart.c
+++ b/src/lib/evas/canvas/evas_object_smart.c
@@ -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;
 

-- 


Reply via email to