evas: initalize orient property in file_set() 75/136175/2
authorJoogab Yun <joogab.yun@samsung.com>
Wed, 28 Jun 2017 06:13:00 +0000 (15:13 +0900)
committerjoogab yun <joogab.yun@samsung.com>
Thu, 29 Jun 2017 00:36:49 +0000 (00:36 +0000)
commit207b73499e9dfaf089fc6d69e0fc107b9ea44d69
tree69aaf94246e4c746e8d491f14cc08cc99b327bb3
parentc892f4bf493876d614572c9350bd118dcfcf4247
evas: initalize orient property in file_set()

    Summary:
    Someone calls evas_object_image_file_set() and set orient,
    and then re-set another file.
    At that time, there is a mismatch between Evas_Image_Data's
    cur->orient and engine's orient data.

    So, "file_set(a) -> orient_set(90) -> file_set(b) -> orient_set(90)"
    is not working now.

    Therefore, when a file_set() is finished, initialization is needed.

Change-Id: Icb0b393773f14b24949ad33188253e84669bd21c
src/lib/evas/canvas/evas_object_image.c