Evas render: Fix 'no_render' when object is proxy source

When the no_render flag was set on a proxy source, the object would
not be visible, but it would also not render inside the proxy surface,
which completely beats the purpose of this flag. This patch makes
the objects render inside a proxy surface.
This commit is contained in:
Jean-Philippe Andre 2015-11-02 12:23:00 +09:00
parent 4da3e70301
commit b4fc15311c
1 changed files with 1 additions and 1 deletions

View File

@ -1371,7 +1371,7 @@ evas_render_mapped(Evas_Public_Data *evas, Evas_Object *eo_obj,
else
{
/* can not trust cache.clip - evas is frozen */
if (!obj->cur->visible || obj->clip.clipees || obj->no_render ||
if (!obj->cur->visible || obj->clip.clipees || (obj->no_render && !proxy_render_data) ||
(!obj->cur->color.a && (obj->cur->render_op == EVAS_RENDER_BLEND)))
{
IFRD(obj->no_render, level, " proxy_src_clip + no_render\n");