evas: Fix don't redraw map_sufarce issue

Summary:
map_surface does not redraw in below case.

1) parent and child are smart object and has map.
3) drawing objects.
4) apply new map to child object.

Test Plan: sample code

Reviewers: jpeg, cedric, jypark

Differential Revision: https://phab.enlightenment.org/D4889
This commit is contained in:
jiin.moon 2017-05-30 19:25:37 +09:00 committed by Jean-Philippe Andre
parent eb27724eb9
commit e250a27922
1 changed files with 4 additions and 0 deletions

View File

@ -543,6 +543,10 @@ evas_object_map_set(Evas_Object *eo_obj, const Evas_Map *map)
!memcmp(&map->persp, &obj->map->cur.map->persp, sizeof(map->persp)))
return;
}
/* changed_pchange means map's change.
* This flag will be used to decide whether to redraw the map surface.
* And value of flag would be EINA_FALSE after rendering. */
obj->changed_pchange = EINA_TRUE;
if ((!map) || (map->count < 4))
{