Revert "evas_image: fix pixels_dirty_set(False) makes wrong object-change..." 71/200471/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Mon, 25 Feb 2019 12:09:59 +0000 (21:09 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Mon, 25 Feb 2019 12:14:11 +0000 (21:14 +0900)
This reverts commit 55b5209f9e50a1dbe3a25aafe1194879057d7247.

to fix TCT issue.

The issue fixed by commit "55b5209f9 evas_image: fix pixels_dirty_set..."
would be fixed by "90e2fad evas_object_image: render_post returns if...".

Change-Id: I6511b94fb673b45c223742da068b117289d89bb1

src/lib/evas/canvas/evas_image_legacy.c

index 0788dc6..23cdaad 100755 (executable)
@@ -577,13 +577,9 @@ evas_object_image_pixels_dirty_set(Eo *eo_obj, Eina_Bool dirty)
    Evas_Image_Data *o = efl_data_scope_get(eo_obj, EFL_CANVAS_IMAGE_INTERNAL_CLASS);
 
    evas_object_async_block(obj);
-   if (dirty)
-     {
-        o->dirty_pixels = EINA_TRUE;
-        o->changed = EINA_TRUE;
-     }
+   if (dirty) o->dirty_pixels = EINA_TRUE;
    else o->dirty_pixels = EINA_FALSE;
-
+   o->changed = EINA_TRUE;
    evas_object_change(eo_obj, obj);
 }