From 9267da7eab63bbebe644af124824c9b59f8f03e2 Mon Sep 17 00:00:00 2001 From: hermet Date: Wed, 30 May 2012 00:51:11 +0000 Subject: [PATCH] evas/map - fixed to update the rendering when map is enabled. Now children objects of the mapped object should be cleaned from the internal cache lists. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@71519 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- ChangeLog | 11 ++++++----- src/lib/canvas/evas_render.c | 8 +++++--- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 530dc65..6c002af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -761,13 +761,14 @@ * 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. + + diff --git a/src/lib/canvas/evas_render.c b/src/lib/canvas/evas_render.c index d40e1c3..cc37013 100644 --- a/src/lib/canvas/evas_render.c +++ b/src/lib/canvas/evas_render.c @@ -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); -- 2.7.4