@esotericsoftware/spine-core 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.
@@ -5820,6 +5820,11 @@ var spine = (() => {
5820
5820
  try {
5821
5821
  const atlas = this.createTextureAtlas(path, atlasText);
5822
5822
  let toLoad = atlas.pages.length, abort = false;
5823
+ if (toLoad === 0) {
5824
+ this.success(success, path, atlas);
5825
+ resolve(atlas);
5826
+ return;
5827
+ }
5823
5828
  for (let page of atlas.pages) {
5824
5829
  this.loadTexture(
5825
5830
  !fileAlias ? parent + page.name : fileAlias[page.name],