evas/vg: Adapt to the recent change in lottie api.

This commit is contained in:
subhransu mohanty 2019-03-07 19:37:48 +09:00 committed by Hermet Park
parent bdf39fc669
commit 2538e19e77
1 changed files with 2 additions and 1 deletions

View File

@ -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);
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);
}
else