forked from enlightenment/efl
edje_cc: don't warn when image attributes are missing in inherit_only group
Summary: The inherit_only groups could be used for template of other groups. So, even if it has image part, it dose not need to have image attributes. @fix Test Plan: N/A Reviewers: cedric, conr2d, jpeg, raster Reviewed By: raster Differential Revision: https://phab.enlightenment.org/D4322
This commit is contained in:
parent
1d72e38abe
commit
ceb63bb202
|
@ -378,6 +378,9 @@ check_image_part_desc(Edje_Part_Collection *pc, Edje_Part *ep,
|
||||||
Edje_Part_Description_Image *epd, Eet_File *ef)
|
Edje_Part_Description_Image *epd, Eet_File *ef)
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
Edje_Part_Collection_Parser *pcp = (Edje_Part_Collection_Parser *)pc;
|
||||||
|
|
||||||
|
if (pcp->inherit_only) return;
|
||||||
|
|
||||||
if (epd->image.id == -1 && epd->common.visible)
|
if (epd->image.id == -1 && epd->common.visible)
|
||||||
WRN("Collection %s(%i): image attributes missing for "
|
WRN("Collection %s(%i): image attributes missing for "
|
||||||
|
|
Loading…
Reference in New Issue