mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-27 13:32:46 -05:00
Merge pull request #1769 from dj-kusuha/fix_MeshUploader
Remove multi-frame profiler sample
This commit is contained in:
commit
4ef15c1048
|
|
@ -107,7 +107,6 @@ namespace UniGLTF
|
|||
MeshData data,
|
||||
Func<int, Material> materialFromIndex)
|
||||
{
|
||||
Profiler.BeginSample("MeshUploader.BuildMesh");
|
||||
|
||||
//Debug.Log(prims.ToJson());
|
||||
var mesh = new Mesh
|
||||
|
|
@ -150,7 +149,6 @@ namespace UniGLTF
|
|||
await BuildBlendShapeAsync(awaitCaller, mesh, blendShape, emptyVertices);
|
||||
}
|
||||
}
|
||||
Profiler.EndSample();
|
||||
|
||||
Profiler.BeginSample("Mesh.UploadMeshData");
|
||||
mesh.UploadMeshData(false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user