Эх сурвалжийг харах

[ts] Closes #699, bug in Skin#attachAll

badlogic 9 жил өмнө
parent
commit
691c33d9a9

+ 1 - 1
spine-ts/build/spine-all.js

@@ -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;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
spine-ts/build/spine-all.js.map


+ 1 - 1
spine-ts/build/spine-core.js

@@ -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;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
spine-ts/build/spine-core.js.map


+ 1 - 1
spine-ts/build/spine-threejs.js

@@ -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;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
spine-ts/build/spine-threejs.js.map


+ 1 - 1
spine-ts/build/spine-webgl.js

@@ -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;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
spine-ts/build/spine-webgl.js.map


+ 1 - 1
spine-ts/build/spine-widget.js

@@ -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;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
spine-ts/build/spine-widget.js.map


+ 1 - 1
spine-ts/core/src/Skin.ts

@@ -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;
 						}

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно