mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-25 07:28:51 -05:00
fix -1 index in migration
This commit is contained in:
parent
a557fd6eae
commit
40be812e25
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user