From 145fe108b8fe477161136317f65145bc5102a059 Mon Sep 17 00:00:00 2001 From: Jaeun Choi Date: Mon, 17 Nov 2014 13:16:56 +0900 Subject: [PATCH] Evas masking: Add edje support Signed-off-by: Jean-Philippe Andre --- src/bin/edje/edje_cc_out.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c index 16c02934fd..674f534dc0 100755 --- a/src/bin/edje/edje_cc_out.c +++ b/src/bin/edje/edje_cc_out.c @@ -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); }