mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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) {
|
for (var key in dictionary) {
|
||||||
var skinAttachment = dictionary[key];
|
var skinAttachment = dictionary[key];
|
||||||
if (slotAttachment == skinAttachment) {
|
if (slotAttachment == skinAttachment) {
|
||||||
var attachment = this.getAttachment(slotIndex, name);
|
var attachment = this.getAttachment(slotIndex, key);
|
||||||
if (attachment != null)
|
if (attachment != null)
|
||||||
slot.setAttachment(attachment);
|
slot.setAttachment(attachment);
|
||||||
break;
|
break;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -3483,7 +3483,7 @@ var spine;
|
|||||||
for (var key in dictionary) {
|
for (var key in dictionary) {
|
||||||
var skinAttachment = dictionary[key];
|
var skinAttachment = dictionary[key];
|
||||||
if (slotAttachment == skinAttachment) {
|
if (slotAttachment == skinAttachment) {
|
||||||
var attachment = this.getAttachment(slotIndex, name);
|
var attachment = this.getAttachment(slotIndex, key);
|
||||||
if (attachment != null)
|
if (attachment != null)
|
||||||
slot.setAttachment(attachment);
|
slot.setAttachment(attachment);
|
||||||
break;
|
break;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -3483,7 +3483,7 @@ var spine;
|
|||||||
for (var key in dictionary) {
|
for (var key in dictionary) {
|
||||||
var skinAttachment = dictionary[key];
|
var skinAttachment = dictionary[key];
|
||||||
if (slotAttachment == skinAttachment) {
|
if (slotAttachment == skinAttachment) {
|
||||||
var attachment = this.getAttachment(slotIndex, name);
|
var attachment = this.getAttachment(slotIndex, key);
|
||||||
if (attachment != null)
|
if (attachment != null)
|
||||||
slot.setAttachment(attachment);
|
slot.setAttachment(attachment);
|
||||||
break;
|
break;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -3483,7 +3483,7 @@ var spine;
|
|||||||
for (var key in dictionary) {
|
for (var key in dictionary) {
|
||||||
var skinAttachment = dictionary[key];
|
var skinAttachment = dictionary[key];
|
||||||
if (slotAttachment == skinAttachment) {
|
if (slotAttachment == skinAttachment) {
|
||||||
var attachment = this.getAttachment(slotIndex, name);
|
var attachment = this.getAttachment(slotIndex, key);
|
||||||
if (attachment != null)
|
if (attachment != null)
|
||||||
slot.setAttachment(attachment);
|
slot.setAttachment(attachment);
|
||||||
break;
|
break;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -3483,7 +3483,7 @@ var spine;
|
|||||||
for (var key in dictionary) {
|
for (var key in dictionary) {
|
||||||
var skinAttachment = dictionary[key];
|
var skinAttachment = dictionary[key];
|
||||||
if (slotAttachment == skinAttachment) {
|
if (slotAttachment == skinAttachment) {
|
||||||
var attachment = this.getAttachment(slotIndex, name);
|
var attachment = this.getAttachment(slotIndex, key);
|
||||||
if (attachment != null)
|
if (attachment != null)
|
||||||
slot.setAttachment(attachment);
|
slot.setAttachment(attachment);
|
||||||
break;
|
break;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -64,7 +64,7 @@ module spine {
|
|||||||
for (let key in dictionary) {
|
for (let key in dictionary) {
|
||||||
let skinAttachment:Attachment = dictionary[key];
|
let skinAttachment:Attachment = dictionary[key];
|
||||||
if (slotAttachment == skinAttachment) {
|
if (slotAttachment == skinAttachment) {
|
||||||
let attachment = this.getAttachment(slotIndex, name);
|
let attachment = this.getAttachment(slotIndex, key);
|
||||||
if (attachment != null) slot.setAttachment(attachment);
|
if (attachment != null) slot.setAttachment(attachment);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user