@esotericsoftware/spine-pixi-v8 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.
|
@@ -6020,6 +6020,11 @@ var spine = (() => {
|
|
|
6020
6020
|
try {
|
|
6021
6021
|
const atlas = this.createTextureAtlas(path2, atlasText);
|
|
6022
6022
|
let toLoad = atlas.pages.length, abort = false;
|
|
6023
|
+
if (toLoad === 0) {
|
|
6024
|
+
this.success(success, path2, atlas);
|
|
6025
|
+
resolve(atlas);
|
|
6026
|
+
return;
|
|
6027
|
+
}
|
|
6023
6028
|
for (let page of atlas.pages) {
|
|
6024
6029
|
this.loadTexture(!fileAlias ? parent + page.name : fileAlias[page.name], (imagePath, texture) => {
|
|
6025
6030
|
if (!abort) {
|