In some cases meshopt() or quantize() may be called, but their extensions are not necessary. This may occur either because the model has no accessors, or because no primitives qualified for quantization. After this PR, extensions are not added to the document in these cases — it doesn't make sense to list KHR_mesh_quantization if there are no meshes, for example.
In some cases meshopt() or quantize() may be called, but their extensions are not necessary. This may occur either because the model has no accessors, or because no primitives qualified for quantization. After this PR, extensions are not added to the document in these cases — it doesn't make sense to list KHR_mesh_quantization if there are no meshes, for example.