@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.
- 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/esm/spine-core.mjs
CHANGED
|
@@ -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],
|