parser: Fix the keyframe cache logic.
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Tue, 11 Aug 2020 04:40:49 +0000 (13:40 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 17 Aug 2020 22:22:02 +0000 (07:22 +0900)
commit633b0d52fc00874e168570575ef2cd0fc1e9673c
tree54d482eb896c0bc6edd25be784b995eb8d1be2d2
parent35a17f1c7e2f79457ee7b4173050852e9d7d3725
parser: Fix the keyframe cache logic.

For some keyframes the cache function was not getting called.
so move the cache logic to outer function and call it when the property
is fully parsed.
src/lottie/lottiemodel.h
src/lottie/lottieparser.cpp