@galacean/engine-loader 0.0.0-experimental-0.9-plus.2 → 0.0.0-experimental-0.9-plus.4

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.
package/dist/main.js CHANGED
@@ -3962,7 +3962,7 @@ var SpriteAtlasLoader = /*#__PURE__*/ function(Loader) {
3962
3962
  var atlasItem = atlasItems[i];
3963
3963
  if (atlasItem.img) {
3964
3964
  chainPromises.push(resourceManager.load({
3965
- url: atlasItem.img,
3965
+ url: GLTFUtil.parseRelativeUrl(item.url, atlasItem.img),
3966
3966
  type: engineCore.AssetType.Texture2D,
3967
3967
  params: {
3968
3968
  format: format,
@@ -4516,7 +4516,9 @@ var KHR_materials_ior = /*#__PURE__*/ function(GLTFExtensionParser) {
4516
4516
  return GLTFExtensionParser.apply(this, arguments);
4517
4517
  }
4518
4518
  var _proto = KHR_materials_ior.prototype;
4519
- _proto.parseEngineResource = function parseEngineResource(schema, material, context) {
4519
+ /**
4520
+ * @override
4521
+ */ _proto.additiveParse = function additiveParse(context, material, schema) {
4520
4522
  var _schema_ior = schema.ior, ior = _schema_ior === void 0 ? 1.5 : _schema_ior;
4521
4523
  material.ior = ior;
4522
4524
  };