From e781a0458e107caa5b984454e33707c982c175c8 Mon Sep 17 00:00:00 2001 From: hiroj Date: Thu, 18 Mar 2021 17:39:09 +0900 Subject: [PATCH] add uploadMeshData --- Assets/UniGLTF/Runtime/UniGLTF/IO/MeshImporter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshImporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshImporter.cs index 00b59863b..73373a4fb 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshImporter.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshImporter.cs @@ -638,6 +638,8 @@ namespace UniGLTF mesh.RecalculateNormals(); } + mesh.UploadMeshData(false); + return (mesh, recalculateTangents); }