From 9a651e08b4840c315e855fdbc7b5f7b9f7fc61e4 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Fri, 19 Feb 2021 19:33:09 +0900 Subject: [PATCH] fix boolean --- Assets/VRM10/Runtime/Migration/RotateY180.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/VRM10/Runtime/Migration/RotateY180.cs b/Assets/VRM10/Runtime/Migration/RotateY180.cs index 7ab2ff03f..31dcca7d2 100644 --- a/Assets/VRM10/Runtime/Migration/RotateY180.cs +++ b/Assets/VRM10/Runtime/Migration/RotateY180.cs @@ -80,7 +80,7 @@ namespace UniVRM10 foreach (var skin in gltf.skins) { - if (!used.Add(skin.inverseBindMatrices)) + if (used.Add(skin.inverseBindMatrices)) { var accessor = gltf.accessors[skin.inverseBindMatrices]; var buffer = gltf.GetViewBytes(accessor.bufferView);