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