summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsubhransu mohanty <sub.mohanty@samsung.com>2019-03-07 19:37:48 +0900
committerHermet Park <hermetpark@gmail.com>2019-03-07 19:37:48 +0900
commit2538e19e77ef839a2fd1177890bb15016b9e8ab1 (patch)
treea7d69f963f487b8cb4c298437e0caca723c71594 /src
parentbdf39fc66957db24db3066b1b622e90f90330114 (diff)
evas/vg: Adapt to the recent change in lottie api.
Diffstat (limited to 'src')
-rw-r--r--src/modules/evas/vg_loaders/json/evas_vg_load_json.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/evas/vg_loaders/json/evas_vg_load_json.c b/src/modules/evas/vg_loaders/json/evas_vg_load_json.c
index 8ea87bd..71ef07b 100644
--- a/src/modules/evas/vg_loaders/json/evas_vg_load_json.c
+++ b/src/modules/evas/vg_loaders/json/evas_vg_load_json.c
@@ -48,7 +48,8 @@ evas_vg_load_file_open_json(Eina_File *file,
48 { 48 {
49 const char *data = (const char*) eina_file_map_all(file, EINA_FILE_SEQUENTIAL); 49 const char *data = (const char*) eina_file_map_all(file, EINA_FILE_SEQUENTIAL);
50 if (!data) goto err; 50 if (!data) goto err;
51 lot_anim = lottie_animation_from_data(data, key ? key:eina_file_filename_get(file)); 51 //@TODO pass corrct external_resource path.
52 lot_anim = lottie_animation_from_data(data, key ? key:eina_file_filename_get(file), " ");
52 eina_file_map_free(file, (void *) data); 53 eina_file_map_free(file, (void *) data);
53 } 54 }
54 else 55 else