ここで全部クリアすると基準メッシュがすべてのBlendShapeを0にしたものになり、

BlendShapeを上げた状態を基準にbakeすることができない。

blendshapeが一個進むごとに基準meshが変わる動きになりうる!
This commit is contained in:
ousttrue 2024-10-18 17:33:16 +09:00
parent 49dd34f17d
commit 95dce5e279

View File

@ -194,7 +194,6 @@ namespace UniGLTF.MeshUtility
for (int i = 0; i < srcMesh.blendShapeCount; ++i)
{
backcup.Add(src.GetBlendShapeWeight(i));
src.SetBlendShapeWeight(i, 0);
}
var meshVertices = mesh.vertices;