raster pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=a7978f931a4b67820b6b65758ce6f362c1ebec70
commit a7978f931a4b67820b6b65758ce6f362c1ebec70 Author: kabeer khan <kabeer.k...@samsung.com> Date: Wed Apr 22 17:05:51 2015 +0900 elm_photocam: Limiting image reload in zoom in/out Summary: Reloading image in zoom in/out only if its previous orientation was changed @fix Signed-off-by: kabeer khan <kabeer.k...@samsung.com> Reviewers: jpeg, raster, cedric Differential Revision: https://phab.enlightenment.org/D2402 --- src/lib/elm_photocam.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_photocam.c b/src/lib/elm_photocam.c index 96e98af..d60ceef 100644 --- a/src/lib/elm_photocam.c +++ b/src/lib/elm_photocam.c @@ -1301,8 +1301,11 @@ _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) return; - + if (sd->orient == orient) + { + sd->orientation_changed = EINA_FALSE; + return; + } sd->orientation_changed = EINA_TRUE; sd->orient = orient; g = _grid_create(obj); --