edje_cc: remove compile fails when setting a complex object as a clipper

Summary:
this is now supported
Depends on D8852

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8853
This commit is contained in:
Mike Blumenkrantz 2019-05-30 13:15:51 -04:00
parent 7387410019
commit fd48c95f49
1 changed files with 0 additions and 18 deletions

View File

@ -581,16 +581,6 @@ check_nameless_state(Edje_Part_Collection *pc, Edje_Part *ep, Edje_Part_Descript
static void
check_state(Edje_Part_Collection *pc, Edje_Part *ep, Edje_Part_Description_Common *ed, Eet_File *ef)
{
/* FIXME: When smart masks are supported, remove this check */
if (ed->clip_to_id != -1 &&
(pc->parts[ed->clip_to_id]->type != EDJE_PART_TYPE_RECTANGLE) &&
(pc->parts[ed->clip_to_id]->type != EDJE_PART_TYPE_IMAGE) &&
(pc->parts[ed->clip_to_id]->type != EDJE_PART_TYPE_PROXY))
error_and_abort(ef, "Collection %i: part: '%s' state: '%s' %g clip_to points to "
"a non RECT/IMAGE part '%s'!",
pc->id, ep->name, ed->state.name, ed->state.value,
pc->parts[ed->clip_to_id]->name);
check_nameless_state(pc, ep, ed, ef);
}
@ -675,14 +665,6 @@ check_part(Edje_Part_Collection *pc, Edje_Part *ep, Eet_File *ef)
default: break;
}
}
/* FIXME: When smart masks are supported, remove this check */
if (ep->clip_to_id != -1 &&
(pc->parts[ep->clip_to_id]->type != EDJE_PART_TYPE_RECTANGLE) &&
(pc->parts[ep->clip_to_id]->type != EDJE_PART_TYPE_IMAGE) &&
(pc->parts[ep->clip_to_id]->type != EDJE_PART_TYPE_PROXY))
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);
}
static void