forked from enlightenment/efl
If an edje file has a Lua group, don't strip any images. No telling how Lua might concoct it's image names, but it expects to find them in it's own file.
SVN revision: 68578
This commit is contained in:
parent
6cbf9fa01a
commit
89b472066f
|
@ -1633,6 +1633,7 @@ data_process_lookups(void)
|
|||
Eina_List *l;
|
||||
Eina_Hash *images_in_use;
|
||||
void *data;
|
||||
Eina_Bool is_lua = FALSE;
|
||||
|
||||
/* remove all unreferenced Edje_Part_Collection */
|
||||
EINA_LIST_FOREACH_SAFE(edje_collections, l, l2, pc)
|
||||
|
@ -1684,6 +1685,8 @@ data_process_lookups(void)
|
|||
unsigned int count = 0;
|
||||
unsigned int i;
|
||||
|
||||
if (pc->lua_script_only)
|
||||
is_lua = TRUE;
|
||||
#define PROGRAM_ID_SET(Type, Pc, It, Count) \
|
||||
for (It = 0; It < Pc->programs.Type ## _count; ++It) \
|
||||
{ \
|
||||
|
@ -1884,7 +1887,7 @@ data_process_lookups(void)
|
|||
free(image);
|
||||
}
|
||||
|
||||
if (edje_file->image_dir)
|
||||
if (edje_file->image_dir && !is_lua)
|
||||
{
|
||||
Edje_Image_Directory_Entry *de;
|
||||
Edje_Image_Directory_Set *set;
|
||||
|
|
Loading…
Reference in New Issue