Remove multi-frame profiler sample

This commit is contained in:
y-kanno
2022-08-25 19:00:53 +09:00
parent c9864efbf9
commit 2a9d1d4baa

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