cedric pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=4a1e58596a9ef7db286023b595aff01ef3da5666

commit 4a1e58596a9ef7db286023b595aff01ef3da5666
Author: kabeer khan <kabeer.k...@samsung.com>
Date:   Tue Apr 28 11:38:50 2015 +0200

    Revert "elm_photocam: Limiting image reload in zoom in/out"
    
    Summary:
    After discussion with DaveMDS, D2402 is a wrong fix and must be reverted.
    This reverts commit a7978f931a4b67820b6b65758ce6f362c1ebec70.
    
    Reviewers: cedric, DaveMDS
    
    Subscribers: jpeg
    
    Differential Revision: https://phab.enlightenment.org/D2437
    
    Signed-off-by: Cedric BAIL <ced...@osg.samsung.com>
---
 src/lib/elm_photocam.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/lib/elm_photocam.c b/src/lib/elm_photocam.c
index d60ceef..96e98af 100644
--- a/src/lib/elm_photocam.c
+++ b/src/lib/elm_photocam.c
@@ -1301,11 +1301,8 @@ _elm_photocam_image_orient_set(Eo *obj, 
Elm_Photocam_Data *sd, Evas_Image_Orient
    Eina_List *l;
    Elm_Phocam_Grid *g, *g_orient = NULL;
 
-   if (sd->orient == orient)
-     {
-        sd->orientation_changed = EINA_FALSE;
-        return;
-     }
+   if (sd->orient == orient) return;
+
    sd->orientation_changed = EINA_TRUE;
    sd->orient = orient;
    g = _grid_create(obj);

-- 


Reply via email to