From 4ef5b659f5aa2966557c75865a095c1a2da6f2de Mon Sep 17 00:00:00 2001 From: ousttrue Date: Tue, 17 Nov 2020 16:00:36 +0900 Subject: [PATCH] fix warning --- Assets/VRM/UniGLTF/Scripts/IO/MeshImporter.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/VRM/UniGLTF/Scripts/IO/MeshImporter.cs b/Assets/VRM/UniGLTF/Scripts/IO/MeshImporter.cs index 09104286b..d33906744 100644 --- a/Assets/VRM/UniGLTF/Scripts/IO/MeshImporter.cs +++ b/Assets/VRM/UniGLTF/Scripts/IO/MeshImporter.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -449,7 +449,9 @@ namespace UniGLTF Truncate(m_uv2, maxIndex); Truncate(m_colors, maxIndex); Truncate(m_boneWeights, maxIndex); +#if false Truncate(m_tangents, maxIndex); +#endif foreach (var blendshape in m_blendShapes) { Truncate(blendshape.Positions, maxIndex);