[Tizen] Fix gltf animation's 0 frame behavior. 24/288424/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Thu, 16 Feb 2023 09:10:10 +0000 (18:10 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 16 Feb 2023 10:59:42 +0000 (19:59 +0900)
commitce46b0b217ebc1bb791512027c39c2349a685c0c
treea12f667b4dd8e86be3dcf5ae0b013932d4925894
parent48188e735cd5e3176093fd2c04f83dba5c7b7c21
[Tizen] Fix gltf animation's 0 frame behavior.

Current dali animation's KeyFrame didn't determine when the time is out of frame.
But gltf 2.0 spec say that we must clamp the time as input range.

To match the spec, make the 0 frame's animation keyframe value.

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