Do not skip update when it has dynamic property 73/298073/1
authorJiyun Yang <ji.yang@samsung.com>
Wed, 30 Aug 2023 12:29:01 +0000 (21:29 +0900)
committerJiyun Yang <ji.yang@samsung.com>
Thu, 31 Aug 2023 04:47:15 +0000 (13:47 +0900)
commit471c32e22c68833d3b2e7fb9e3f6a993395dc87b
tree205f8665036e7b211dce8cc60f5dcf3037f9b3f0
parentfe942e8cf74e98d8486f819025541bcf08078d92
Do not skip update when it has dynamic property

In following cases,

```c++
animation->setValue<Property::FillColor>("**", red);
animation->render(0, surface);
// after render is finished
animation->setValue<Property::FillColor>("**", blue);
animation->render(0, surface);
```
Or
```c++
animation->setValue<Property::FillColor>("**", [&](const FrameInfo& info) {
    return colors->getColor();
});

colors->setColor(red);
animation->render(0, surface);
// after render is finished
colors->setColor(blue);
animation->render(0, surface);

```
the second render request for both cases should not be ignored even if it's the same request as previous.

Change-Id: I0337e885e7d7623c01332415207829da8549ddce
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/lottie/lottieitem.cpp
src/lottie/lottieitem.h