jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=7ea52e1bd8b5be7a4e348f31c670436f0a6a4c53

commit 7ea52e1bd8b5be7a4e348f31c670436f0a6a4c53
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Jun 30 11:45:55 2015 +0900

    Evas filters: Force filter redraw if object changed
    
    Somehow I broke this when introducing the eo mixin.
    This is what broke @cedric's work on the snapshot widget!
    
    TODO: Verify that the contents changed, and not just X,Y.
---
 src/lib/evas/canvas/evas_filter_mixin.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/lib/evas/canvas/evas_filter_mixin.c 
b/src/lib/evas/canvas/evas_filter_mixin.c
index b2433b8..ffc8dfa 100644
--- a/src/lib/evas/canvas/evas_filter_mixin.c
+++ b/src/lib/evas/canvas/evas_filter_mixin.c
@@ -153,6 +153,12 @@ evas_filter_object_render(Eo *eo_obj, 
Evas_Object_Protected_Data *obj,
                                                     fcow->state.pos);
              if (redraw)
                DBG("Filter redraw by state change!");
+             else if (obj->changed)
+               {
+                  // FIXME: Check that something else than X,Y changed!
+                  redraw = EINA_TRUE;
+                  DBG("Filter redraw by object content change!");
+               }
 
              // Scan proxies to find if any changed
              if (!redraw && fcow->sources)

-- 


Reply via email to