Evas masking: Fix rendering of restacked masks of masks in a map

I know. This title does not explain anything. Whatever.

This fixes the following issue:
- Mask a genlist (big mask)
- Each item has an icon masked (small mask)
- Apply a map to the genlist
- Scrolling the genlist
--> The big mask still works but totally screws up the
    small icons with masks.

Note: Once again this patch only affects code paths where an
      object is a mask.
This commit is contained in:
Jean-Philippe Andre 2015-02-04 14:43:14 +09:00
parent a688ba45c8
commit 9466f32dae
1 changed files with 2 additions and 0 deletions

View File

@ -2135,6 +2135,8 @@ evas_render_updates_internal(Evas *eo_e,
for (i = 0; i < e->restack_objects.count; ++i)
{
obj = eina_array_data_get(&e->restack_objects, i);
if (_evas_render_object_is_mask(obj))
_evas_mask_redraw_set(e, obj);
obj->func->render_pre(obj->object, obj, obj->private_data);
_evas_render_prev_cur_clip_cache_add(e, obj);
}