@esotericsoftware/spine-core 4.2.111 → 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.
@@ -5678,6 +5678,11 @@ var AssetManagerBase = class {
5678
5678
  try {
5679
5679
  const atlas = this.createTextureAtlas(path, atlasText);
5680
5680
  let toLoad = atlas.pages.length, abort = false;
5681
+ if (toLoad === 0) {
5682
+ this.success(success, path, atlas);
5683
+ resolve(atlas);
5684
+ return;
5685
+ }
5681
5686
  for (let page of atlas.pages) {
5682
5687
  this.loadTexture(
5683
5688
  !fileAlias ? parent + page.name : fileAlias[page.name],