Able to load uint8_t type Joint + Able to animate 0 duration animation 61/286361/6
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 4 Jan 2023 15:17:46 +0000 (00:17 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Wed, 18 Jan 2023 03:51:21 +0000 (03:51 +0000)
commit7ffb9ec31e79054126c1fbc7e1cc57a462521bb5
tree372e3ae75c36c2390c3390efcb3c80c0dc9f1aed
parent64cbda8b449c9095e967c6acf065fcaed8394d35
Able to load uint8_t type Joint + Able to animate 0 duration animation

This patch try to resolve 2 kind of unsupported feature.

1. There was possible to set JOINT_0 accessor type as unsigend byte.
Make it supported.

2. If duration of gltf was 0, the keyframe's progress value become -nan.
It may occure some problems.

Change-Id: I166be7d31880c04b9e819e9cd1acd843538c927a
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali-scene3d/public-api/loader/gltf2-loader.cpp
dali-scene3d/public-api/loader/mesh-definition.cpp
dali-scene3d/public-api/loader/mesh-definition.h