hermet pushed a commit to branch master.

commit 2e699fbab9abb2ddaac85661af329b0f16bacf16
Author: ChunEon Park <[email protected]>
Date:   Mon Apr 29 21:05:33 2013 +0900

    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);
 

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to