fix -1 index in migration

This commit is contained in:
ousttrue 2021-06-04 16:34:26 +09:00
parent a557fd6eae
commit 40be812e25

View File

@ -49,6 +49,11 @@ namespace UniVRM10
static void ReverseVector3Array(glTF gltf, int accessorIndex, HashSet<int> used)
{
if (accessorIndex == -1)
{
return;
}
if (!used.Add(accessorIndex))
{
return;