Evas render: Fix render artifacts with a mapped object

Problem visible in Enventor "map" example, with the SW engine.

Fixes T2979
This commit is contained in:
Jean-Philippe Andre 2016-01-06 22:08:58 +09:00
parent f00f466250
commit e61182f7ac
1 changed files with 2 additions and 2 deletions

View File

@ -615,7 +615,7 @@ _evas_render_phase1_object_process(Evas_Public_Data *e, Evas_Object *eo_obj,
}
return clean_them;
}
else if (hmap) // && !can_map) // FIXME
else if (hmap && !can_map)
{
RD(level, " had map - restack objs\n");
// OBJ_ARRAY_PUSH(restack_objects, obj);
@ -632,7 +632,7 @@ _evas_render_phase1_object_process(Evas_Public_Data *e, Evas_Object *eo_obj,
*redraw_all = 1;
}
}
if (!(map && !can_map) && obj->cur->clipper)
if (!map && obj->cur->clipper)
{
// Fix some bad clipping issues after an evas_map animation finishes
evas_object_change(obj->cur->clipper->object, obj->cur->clipper);