Skip to content

Commit

Permalink
fix skin#attachAll
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpopelyshev committed Oct 6, 2016
1 parent d973453 commit 6f5f444
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions bin/pixi-spine.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/pixi-spine.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions bin/pixi-spine.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/pixi-spine.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pixi-spine",
"version": "1.1.2",
"version": "1.1.3",
"description": "Spine implementation for pixi v^3 and v^4",
"author": "Mat Groves",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion src/core/Skin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class Skin {
for (let key in dictionary) {
let skinAttachment:Attachment = dictionary[key];
if (slotAttachment == skinAttachment) {
let attachment = this.getAttachment(slotIndex, key);
let attachment = this.getAttachment(slotIndex, name);
if (attachment != null) slot.setAttachment(attachment);
break;
}
Expand Down

0 comments on commit 6f5f444

Please sign in to comment.