forked from enlightenment/efl
evas/vg: Adapt to the recent change in lottie api.
This commit is contained in:
parent
bdf39fc669
commit
2538e19e77
|
@ -48,7 +48,8 @@ evas_vg_load_file_open_json(Eina_File *file,
|
||||||
{
|
{
|
||||||
const char *data = (const char*) eina_file_map_all(file, EINA_FILE_SEQUENTIAL);
|
const char *data = (const char*) eina_file_map_all(file, EINA_FILE_SEQUENTIAL);
|
||||||
if (!data) goto err;
|
if (!data) goto err;
|
||||||
lot_anim = lottie_animation_from_data(data, key ? key:eina_file_filename_get(file));
|
//@TODO pass corrct external_resource path.
|
||||||
|
lot_anim = lottie_animation_from_data(data, key ? key:eina_file_filename_get(file), " ");
|
||||||
eina_file_map_free(file, (void *) data);
|
eina_file_map_free(file, (void *) data);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue