Merge pull request #1769 from dj-kusuha/fix_MeshUploader

Remove multi-frame profiler sample
This commit is contained in:
ousttrue
2022-08-25 19:07:21 +09:00
committed by GitHub

View File

@@ -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);