Skip to content

Commit

Permalink
Merge pull request #802 from hiroj/add_uploadMeshData
Browse files Browse the repository at this point in the history
add uploadMeshData
  • Loading branch information
hiroj authored Mar 18, 2021
2 parents 3555350 + e781a04 commit 9482ef1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/UniGLTF/Runtime/UniGLTF/IO/MeshImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,8 @@ public MeshContext ReadMesh(ImporterContext ctx, int meshIndex, IAxisInverter in
mesh.RecalculateNormals();
}

mesh.UploadMeshData(false);

return (mesh, recalculateTangents);
}

Expand Down

0 comments on commit 9482ef1

Please sign in to comment.