From 2e699fbab9abb2ddaac85661af329b0f16bacf16 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Mon, 29 Apr 2013 21:05:33 +0900 Subject: [PATCH] evas - and apply proxy_src_clip only when object and proxy is same in render_mapped --- src/lib/evas/canvas/evas_render.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c index c6404d7..cbec83c 100644 --- a/src/lib/evas/canvas/evas_render.c +++ b/src/lib/evas/canvas/evas_render.c @@ -961,11 +961,16 @@ evas_render_mapped(Evas_Public_Data *e, Evas_Object *eo_obj, Eina_Bool clean_them = EINA_FALSE; Eina_Bool proxy_src_clip = EINA_FALSE; - if ((!proxy_obj) && (evas_object_is_source_invisible(eo_obj, obj))) - return clean_them; - - if (proxy_obj) - eo_do(proxy_obj, evas_obj_image_source_clip_get(&proxy_src_clip)); + if (!proxy_obj) + { + if ((evas_object_is_source_invisible(eo_obj, obj))) + return clean_them; + } + else + { + if (proxy_obj == obj) + eo_do(proxy_obj, evas_obj_image_source_clip_get(&proxy_src_clip)); + } evas_object_clip_recalc(obj); -- 2.7.4