Skip to content

Commit

Permalink
fix loading multi page atlas (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
kit494way authored and badlogic committed Jun 7, 2018
1 parent 0d829a7 commit 35703db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine-ts/widget/src/Widget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}
Expand Down

0 comments on commit 35703db

Please sign in to comment.