From d7aa42013e3f774275cb50db254dbf5c054ceddf Mon Sep 17 00:00:00 2001 From: Shinwoo Kim Date: Mon, 25 Feb 2019 21:09:59 +0900 Subject: [PATCH] Revert "evas_image: fix pixels_dirty_set(False) makes wrong object-change..." 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 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/lib/evas/canvas/evas_image_legacy.c b/src/lib/evas/canvas/evas_image_legacy.c index 0788dc6..23cdaad 100755 --- a/src/lib/evas/canvas/evas_image_legacy.c +++ b/src/lib/evas/canvas/evas_image_legacy.c @@ -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); } -- 2.7.4