Do not skip update when it has dynamic property 74/298074/1 accepted/tizen/7.0/unified/20231227.072357 accepted/tizen/7.0/unified/20231227.090349
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:31 +0000 (13:47 +0900)
commit7e9b4029b893448f3daf89db2b4ac5a68241949d
treebacd3526d9eb8d9d667d7d4e94b9dd8deafc613f
parent3d6873d3905e5b8019730e1bb7c3408f82855a0c
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: I6b94b6d99aa56118930b06b5f7244aa4cb18b7c0
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/lottie/lottieitem.cpp
src/lottie/lottieitem.h