cedric pushed a commit to branch master.


commit bcc91814df43ccf7b90078d61da2f4452b72300b
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Mon Oct 12 16:00:04 2015 -0700

    elm_image: let's not trigger confusing update add.
    Elm_Image rely on Evas_Image ability to rotate content. There is no
    pixels manipulation involved that require an update_add here. In fact
    this cause a bug where the content would disapear due to evas trying
    to get some pixels data that are not where it think they are.
 src/lib/elm_image.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 713ad65..5cfc046 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -1402,8 +1402,6 @@ _elm_image_orient_set(Eo *obj, Elm_Image_Data *sd, 
Elm_Image_Orient orient)
    evas_object_image_orient_set(sd->img, orient);
    sd->orient = orient;
-   evas_object_image_size_get(sd->img, &iw, &ih);
-   evas_object_image_data_update_add(sd->img, 0, 0, iw, ih);
    _elm_image_internal_sizing_eval(obj, sd);


Reply via email to