mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 14:29:52 -05:00
Change a logic to check draco to a way written in the specification
This commit is contained in:
parent
a5ab17049c
commit
d2709ea4fd
|
|
@ -503,14 +503,12 @@ namespace UniGLTF
|
|||
.ContinueWithCoroutine(Scheduler.MainThread, LoadMaterials)
|
||||
.OnExecute(Scheduler.ThreadPool, parent =>
|
||||
{
|
||||
/*
|
||||
if (GLTF.meshes
|
||||
.SelectMany(x => x.primitives)
|
||||
.Any(x => x.extensions.KHR_draco_mesh_compression != null))
|
||||
// UniGLTF does not support draco
|
||||
// https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_draco_mesh_compression/README.md#conformance
|
||||
if (GLTF.extensionsRequired.Contains("KHR_draco_mesh_compression"))
|
||||
{
|
||||
throw new UniGLTFNotSupportedException("draco is not supported");
|
||||
}
|
||||
*/
|
||||
|
||||
// meshes
|
||||
var meshImporter = new MeshImporter();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user