[Tizen] Fix the normalization factor calculation for blendshapes 70/293170/1
authorRichard <r.huang@samsung.com>
Thu, 18 May 2023 14:09:13 +0000 (15:09 +0100)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 22 May 2023 05:14:23 +0000 (14:14 +0900)
commit83a264f84b376464238c24473ffd4bcb6c231318
treed93515279f42740e8655b147c73fcf791cee9746
parent18090e7cf369101576ab947a08982ac0fc7a1854
[Tizen] Fix the normalization factor calculation for blendshapes

This patch fixes two issue:

1. Fix the calculation of the blendshape normalization factor so that it can
   handle smaller maximum distance between the original mesh and the deformed
   mesh.

2. Apply the min and max properties of the accessor to all the elements in the
   accessor, not just the elements in the sparse storage.

Change-Id: Iea90cbacf91fc7311242d9a47454b06afee82200
dali-scene3d/public-api/loader/mesh-definition.cpp