Evas masking: Add edje support

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
This commit is contained in:
Jaeun Choi 2014-11-17 13:16:56 +09:00 committed by Jean-Philippe Andre
parent 6e8e5e89b5
commit 145fe108b8
1 changed files with 3 additions and 2 deletions

View File

@ -424,8 +424,9 @@ check_part(Edje_Part_Collection *pc, Edje_Part *ep, Eet_File *ef)
/* FIXME: When mask are supported remove this check */
if (ep->clip_to_id != -1 &&
pc->parts[ep->clip_to_id]->type != EDJE_PART_TYPE_RECTANGLE)
error_and_abort(ef, "Collection %i: clip_to point to a non RECT part '%s' !",
(pc->parts[ep->clip_to_id]->type != EDJE_PART_TYPE_RECTANGLE) &&
(pc->parts[ep->clip_to_id]->type != EDJE_PART_TYPE_IMAGE))
error_and_abort(ef, "Collection %i: clip_to point to a non RECT/IMAGE part '%s' !",
pc->id, pc->parts[ep->clip_to_id]->name);
}