mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
fix loading multi page atlas (#1124)
This commit is contained in:
parent
0d829a7ba2
commit
35703dbce9
@ -102,7 +102,7 @@ module spine {
|
||||
} else {
|
||||
for (let i = 0; i < config.atlasPages.length; i++) {
|
||||
if (config.atlasPagesContent && config.atlasPagesContent[i]) {
|
||||
assets.loadTextureData(config.atlasPages[i], config.atlasPagesContent[0]);
|
||||
assets.loadTextureData(config.atlasPages[i], config.atlasPagesContent[i]);
|
||||
} else {
|
||||
assets.loadTexture(config.atlasPages[i]);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user