@galacean/engine-loader 0.9.7 → 0.9.8

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