Add 0.0f progress data if given data don't have it 75/315575/3
authorEunki Hong <eunkiki.hong@samsung.com>
Sat, 3 Aug 2024 12:55:26 +0000 (21:55 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Tue, 6 Aug 2024 01:20:35 +0000 (10:20 +0900)
commitf06bdf318e737dd6ca3f4d3bcd53701e5f2ed233
tree814c58b247221da2e72dfe6efb4269388e6937e7
parent384dfb209344fe2194506e306716e1772ed7370c
Add 0.0f progress data if given data don't have it

gltf spec support that if their is nothing define 0'th timestamp data then
they will use the smallest timestamp value.

For dali case, we don't do anything if the animation progress is not define at
given keyframes frame range.
So it might not be matched with normal gltf viewer's behavior at 0'th frame.

Currrently we copy 0th frame data at model inside definition animations, and
bvh file. But facial animation doesnt.
We need to support it.

Change-Id: I435847f33ff60aec6bc03c7f7633b09cd5dc43cc
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
automated-tests/src/dali-scene3d/utc-Dali-FacialAnimation.cpp
dali-scene3d/public-api/loader/facial-animation-loader.cpp