mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 08:38:43 +08:00
[ts] Closes #699, bug in Skin#attachAll
This commit is contained in:
parent
5d3d681d6f
commit
691c33d9a9
@ -3726,7 +3726,7 @@ var spine;
|
||||
for (var key in dictionary) {
|
||||
var skinAttachment = dictionary[key];
|
||||
if (slotAttachment == skinAttachment) {
|
||||
var attachment = this.getAttachment(slotIndex, name);
|
||||
var attachment = this.getAttachment(slotIndex, key);
|
||||
if (attachment != null)
|
||||
slot.setAttachment(attachment);
|
||||
break;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -3483,7 +3483,7 @@ var spine;
|
||||
for (var key in dictionary) {
|
||||
var skinAttachment = dictionary[key];
|
||||
if (slotAttachment == skinAttachment) {
|
||||
var attachment = this.getAttachment(slotIndex, name);
|
||||
var attachment = this.getAttachment(slotIndex, key);
|
||||
if (attachment != null)
|
||||
slot.setAttachment(attachment);
|
||||
break;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -3483,7 +3483,7 @@ var spine;
|
||||
for (var key in dictionary) {
|
||||
var skinAttachment = dictionary[key];
|
||||
if (slotAttachment == skinAttachment) {
|
||||
var attachment = this.getAttachment(slotIndex, name);
|
||||
var attachment = this.getAttachment(slotIndex, key);
|
||||
if (attachment != null)
|
||||
slot.setAttachment(attachment);
|
||||
break;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -3483,7 +3483,7 @@ var spine;
|
||||
for (var key in dictionary) {
|
||||
var skinAttachment = dictionary[key];
|
||||
if (slotAttachment == skinAttachment) {
|
||||
var attachment = this.getAttachment(slotIndex, name);
|
||||
var attachment = this.getAttachment(slotIndex, key);
|
||||
if (attachment != null)
|
||||
slot.setAttachment(attachment);
|
||||
break;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -3483,7 +3483,7 @@ var spine;
|
||||
for (var key in dictionary) {
|
||||
var skinAttachment = dictionary[key];
|
||||
if (slotAttachment == skinAttachment) {
|
||||
var attachment = this.getAttachment(slotIndex, name);
|
||||
var attachment = this.getAttachment(slotIndex, key);
|
||||
if (attachment != null)
|
||||
slot.setAttachment(attachment);
|
||||
break;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -64,7 +64,7 @@ module spine {
|
||||
for (let key in dictionary) {
|
||||
let skinAttachment:Attachment = dictionary[key];
|
||||
if (slotAttachment == skinAttachment) {
|
||||
let attachment = this.getAttachment(slotIndex, name);
|
||||
let attachment = this.getAttachment(slotIndex, key);
|
||||
if (attachment != null) slot.setAttachment(attachment);
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user