mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-11 04:54:17 -05:00
稀に BlendShape が null の時がある
This commit is contained in:
parent
3c873cdbaa
commit
3756f2a4b0
|
|
@ -42,14 +42,28 @@ namespace UniGLTF
|
|||
{
|
||||
Positions = new List<Vector3>(vertexCount);
|
||||
}
|
||||
else
|
||||
{
|
||||
Positions = new List<Vector3>();
|
||||
}
|
||||
|
||||
if (hasNormals)
|
||||
{
|
||||
Normals = new List<Vector3>(vertexCount);
|
||||
}
|
||||
else
|
||||
{
|
||||
Normals = new List<Vector3>();
|
||||
}
|
||||
|
||||
if (hasTangents)
|
||||
{
|
||||
Tangents = new List<Vector3>(vertexCount);
|
||||
}
|
||||
else
|
||||
{
|
||||
Tangents = new List<Vector3>();
|
||||
}
|
||||
}
|
||||
|
||||
public List<Vector3> Positions { get; private set; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user