From 7fbbb83ddc920c368d9367d454f8dfe8a158e0c6 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 cc2667b45..fda28c4c0 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshImporter.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshImporter.cs @@ -593,6 +593,8 @@ namespace UniGLTF mesh.RecalculateNormals(); } + mesh.UploadMeshData(false); + return (mesh, recalculateTangents); }