@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.
- package/dist/AssetManagerBase.js +6 -1
- package/dist/esm/spine-core.min.mjs +2 -2
- package/dist/esm/spine-core.mjs +5 -0
- package/dist/esm/spine-core.mjs.map +2 -2
- package/dist/iife/spine-core.js +5 -0
- package/dist/iife/spine-core.js.map +2 -2
- package/dist/iife/spine-core.min.js +2 -2
- package/package.json +1 -1
package/dist/iife/spine-core.js
CHANGED
|
@@ -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],
|