mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-11 21:14:19 -05:00
Merge pull request #1549 from ousttrue/fix/blendshape_normals_null
add null check
This commit is contained in:
commit
4cfdb3dd59
|
|
@ -84,7 +84,10 @@ namespace UniGLTF
|
|||
await awaitCaller.Run(() =>
|
||||
{
|
||||
positions = blendShape.Positions.ToArray();
|
||||
normals = blendShape.Normals.ToArray();
|
||||
if (blendShape.Normals != null)
|
||||
{
|
||||
normals = blendShape.Normals.ToArray();
|
||||
}
|
||||
});
|
||||
|
||||
Profiler.BeginSample("MeshImporter.BuildBlendShapeAsync");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user