@esotericsoftware/spine-pixi-v8 4.2.112 → 4.2.113

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.
@@ -5865,6 +5865,11 @@ var AssetManagerBase = class {
5865
5865
  try {
5866
5866
  const atlas = this.createTextureAtlas(path2, atlasText);
5867
5867
  let toLoad = atlas.pages.length, abort = false;
5868
+ if (toLoad === 0) {
5869
+ this.success(success, path2, atlas);
5870
+ resolve(atlas);
5871
+ return;
5872
+ }
5868
5873
  for (let page of atlas.pages) {
5869
5874
  this.loadTexture(!fileAlias ? parent + page.name : fileAlias[page.name], (imagePath, texture) => {
5870
5875
  if (!abort) {