forked from enlightenment/efl
Evas masking: Add edje support
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
This commit is contained in:
parent
6e8e5e89b5
commit
145fe108b8
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue