diff options
author | Hermet Park <hermetpark@gmail.com> | 2019-11-21 17:45:36 +0900 |
---|---|---|
committer | Hermet Park <hermetpark@gmail.com> | 2019-11-21 17:45:36 +0900 |
commit | cf79e1f7e62ea18ed20d94a2238c8c9d1773fed2 (patch) | |
tree | a498c85d0e485e4df968d267b0a3412a23f7115a /src/lib/evas | |
parent | ce30a952b2521632c4cde8bbb5c33313c62e47ae (diff) | |
download | efl-cf79e1f7e62ea18ed20d94a2238c8c9d1773fed2.tar.gz |
Revert "evas animation: removed unnecessray checking."
This reverts commit 959c503a718ed548fa3251fc245bfe9c8c82d521.
Diffstat (limited to 'src/lib/evas')
-rw-r--r-- | src/lib/evas/canvas/efl_canvas_object_animation.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_object_animation.c b/src/lib/evas/canvas/efl_canvas_object_animation.c index b86912db60..67dec4a080 100644 --- a/src/lib/evas/canvas/efl_canvas_object_animation.c +++ b/src/lib/evas/canvas/efl_canvas_object_animation.c @@ -61,6 +61,9 @@ _animator_cb(void *data, const Efl_Event *ev EINA_UNUSED) efl_event_callback_call(obj, EFL_CANVAS_OBJECT_ANIMATION_EVENT_ANIMATION_PROGRESS_UPDATED, &pd->in->progress); + //Check if animation stopped in animation_progress,updated callback. + if (!pd->in) return; + //Not end. Keep going. if ((pd->in->speed < 0 && EINA_DBL_EQ(pd->in->progress, 0)) || (pd->in->speed > 0 && EINA_DBL_EQ(pd->in->progress, 1.0))) |