jpeg pushed a commit to branch master.

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

commit a449bfc555abe1d21c5e0afd97ef423e2821e585
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Thu Oct 1 20:01:52 2015 +0900

    Edje: Turn SNAPSHOT objects into filled images for now
    
    Without that, the image has no fill information. Fill properties
    may need to be added to SNAPHOT parts but the default behaviour
    should make sense. Before this patch you just get a black rectangle.
    
    Considering how image filters currently work, marking snapshots
    as filled by default is not the best solution (need padding_set(0)
    to render nicely).
---
 src/lib/edje/edje_load.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/edje/edje_load.c b/src/lib/edje/edje_load.c
index 2ab9862..e9fcfa3 100644
--- a/src/lib/edje/edje_load.c
+++ b/src/lib/edje/edje_load.c
@@ -711,7 +711,7 @@ _edje_object_file_set_internal(Evas_Object *obj, const 
Eina_File *file, const ch
                      case EDJE_PART_TYPE_PROXY:
                      case EDJE_PART_TYPE_IMAGE:
                      case EDJE_PART_TYPE_SNAPSHOT:
-                       rp->object = evas_object_image_add(ed->base->evas);
+                       rp->object = 
evas_object_image_filled_add(ed->base->evas);
                        if (ep->type == EDJE_PART_TYPE_SNAPSHOT)
                          evas_object_image_snapshot_set(rp->object, EINA_TRUE);
                        break;

-- 


Reply via email to