@galacean/engine-loader 1.2.0-beta.5 → 1.2.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/main.js +2 -1
  2. package/dist/main.js.map +1 -1
  3. package/dist/miniprogram.js +2 -1
  4. package/dist/module.js +2 -1
  5. package/dist/module.js.map +1 -1
  6. package/package.json +4 -4
  7. package/types/gltf/GLTFParser.d.ts +0 -9
  8. package/types/gltf/GLTFPipeline.d.ts +0 -23
  9. package/types/gltf/GLTFUtil.d.ts +0 -53
  10. package/types/gltf/Schema.d.ts +0 -814
  11. package/types/gltf/extensions/ExtensionParser.d.ts +0 -8
  12. package/types/gltf/extensions/Schema.d.ts +0 -142
  13. package/types/gltf/parser/AnimationParser.d.ts +0 -7
  14. package/types/gltf/parser/BufferParser.d.ts +0 -7
  15. package/types/gltf/parser/EntityParser.d.ts +0 -9
  16. package/types/gltf/parser/MaterialParser.d.ts +0 -8
  17. package/types/gltf/parser/MeshParser.d.ts +0 -13
  18. package/types/gltf/parser/Parser.d.ts +0 -21
  19. package/types/gltf/parser/ParserContext.d.ts +0 -46
  20. package/types/gltf/parser/SceneParser.d.ts +0 -11
  21. package/types/gltf/parser/SkinParser.d.ts +0 -6
  22. package/types/gltf/parser/TextureParser.d.ts +0 -8
  23. package/types/gltf/parser/Validator.d.ts +0 -5
  24. package/types/ktx2/BinomialLLCTranscoder/BinomialLLCTranscoder.d.ts +0 -13
  25. package/types/ktx2/BinomialLLCTranscoder/TranscodeWorkerCode.d.ts +0 -33
  26. package/types/ktx2/KhronosTranscoder/KhronosTranscoder.d.ts +0 -17
  27. package/types/ktx2/KhronosTranscoder/TranscoderWorkerCode.d.ts +0 -34
  28. package/types/ktx2/TranscodeResult.d.ts +0 -10
  29. package/types/ktx2/constants.d.ts +0 -7
  30. package/types/ktx2/zstddec.d.ts +0 -62
  31. package/types/resource-deserialize/resources/prefab/PrefabDesign.d.ts +0 -70
  32. package/types/resource-deserialize/resources/prefab/ReflectionParser.d.ts +0 -14
package/dist/main.js CHANGED
@@ -4542,7 +4542,8 @@ exports.GLTFSceneParser = /*#__PURE__*/ function(GLTFParser1) {
4542
4542
  var blendShapeWeights = entityInfo.weights || glTFMesh.weights;
4543
4543
  var materialPromises = new Array(rendererCount);
4544
4544
  for(var i = 0; i < rendererCount; i++){
4545
- materialPromises[i] = context.get(exports.GLTFParserType.Material, glTFMeshPrimitives[i].material);
4545
+ var _glTFMeshPrimitives_i_material;
4546
+ materialPromises[i] = context.get(exports.GLTFParserType.Material, (_glTFMeshPrimitives_i_material = glTFMeshPrimitives[i].material) != null ? _glTFMeshPrimitives_i_material : -1);
4546
4547
  }
4547
4548
  return Promise.all([
4548
4549
  context.get(exports.GLTFParserType.Mesh, meshID),