[Tizen] Blendshapes fix 65/292965/1
authorAdam Bialogonski <adam.b@samsung.com>
Tue, 16 May 2023 15:53:24 +0000 (16:53 +0100)
committerEunki, Hong <eunkiki.hong@samsung.com>
Thu, 18 May 2023 00:46:00 +0000 (09:46 +0900)
commitea97e9f16dd6268d073b6bdb46ba3570460eafa8
tree69939cb9c38212897d614e96a6026a14cc17602a
parent683beb08956eb39262fae2da0d20cce4772bb47c
[Tizen] Blendshapes fix

When using sparse accessors, the gltf loader loads data correctly
but the blendshapes generator (texture and data) always assumes that
morph targets contain all the vertices which isn't a case.

Fix makes sure that for sparse access only indexed vertices are
affected by the blendshape. It still generate full vertex data
(for whole mesh) so it's compatible with current shader.

Change-Id: I1f36c1d9d24dec0eb194d0aaf1b93488b61b1d58
Signed-off-by: Adam Bialogonski <adam.b@samsung.com>
dali-scene3d/public-api/loader/mesh-definition.cpp
dali-scene3d/public-api/loader/mesh-definition.h