@galacean/engine-loader 0.9.7 → 0.9.9

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.
@@ -4250,7 +4250,7 @@ var SpriteAtlasLoader = /*#__PURE__*/ function(Loader) {
4250
4250
  var atlasItem = atlasItems[i];
4251
4251
  if (atlasItem.img) {
4252
4252
  chainPromises.push(resourceManager.load({
4253
- url: atlasItem.img,
4253
+ url: GLTFUtil.parseRelativeUrl(item.url, atlasItem.img),
4254
4254
  type: miniprogram.AssetType.Texture2D,
4255
4255
  params: {
4256
4256
  format: format,
package/dist/module.js CHANGED
@@ -4245,7 +4245,7 @@ var SpriteAtlasLoader = /*#__PURE__*/ function(Loader) {
4245
4245
  var atlasItem = atlasItems[i];
4246
4246
  if (atlasItem.img) {
4247
4247
  chainPromises.push(resourceManager.load({
4248
- url: atlasItem.img,
4248
+ url: GLTFUtil.parseRelativeUrl(item.url, atlasItem.img),
4249
4249
  type: AssetType.Texture2D,
4250
4250
  params: {
4251
4251
  format: format,