mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-09 12:11:35 -05:00
to if (used.Add(index))
This commit is contained in:
parent
a3fbd81c66
commit
2ba2da20fd
|
|
@ -61,9 +61,8 @@ namespace UniGLTF
|
|||
for (int i = 0; i < JointIndexMap.Length; ++i)
|
||||
{
|
||||
var index = JointIndexMap[i];
|
||||
if (!used.Contains(index))
|
||||
if (used.Add(index))
|
||||
{
|
||||
used.Add(index);
|
||||
yield return Mesh.bindposes[i];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user