evas/map - fixed to update the rendering when map is enabled.
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 30 May 2012 00:51:11 +0000 (00:51 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 30 May 2012 00:51:11 +0000 (00:51 +0000)
Now children objects of the mapped object should be cleaned from the internal cache lists.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@71519 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/lib/canvas/evas_render.c

index 530dc65..6c002af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
         * Fix evas_object_image_memfile_set() on non-linux systems.
 
-2012-05-29  ChunEon Park (Hermet)
-
-       * Fixed to clean up when map actually changed. Now rendering updates will be
-     correct after evas_map acutally disabled for the smart object.
-
 2012-05-29  Tom Hacohen (TAsn)
 
        * Text: Fixed an issue with text object sizing.
        * Font: Fixed run-time italic.
 
+2012-05-30  ChunEon Park (Hermet)
+
+       * Fixed to clean up when map actually changed. Now rendering updates will be
+     correct after evas_map acutally disabled/enabled for the smart object.
+
+
index d40e1c3..cc37013 100644 (file)
@@ -518,14 +518,16 @@ _evas_render_check_pending_objects(Eina_Array *pending_objects, Evas *e)
 
    for (i = 0; i < pending_objects->count; ++i)
      {
-        Evas_Object *obj;
+        Evas_Object *obj, *parent;
         int is_active;
         Eina_Bool ok = EINA_FALSE;
-
         obj = eina_array_data_get(pending_objects, i);
-
         if (!obj->layer) goto clean_stuff;
 
+        parent = evas_object_smart_parent_get(obj);
+        if (parent && _evas_render_has_map(parent))
+          goto clean_stuff;
+
         evas_object_clip_recalc(obj);
         is_active = evas_object_is_active(obj);