mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-11 05:19:14 -05:00
Merge pull request #1769 from dj-kusuha/fix_MeshUploader
Remove multi-frame profiler sample
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user