Browse Source

[ts] RegionAttachment.copy() refered to window.name instead of this.name. Closes #1672.

badlogic 5 years ago
parent
commit
ba1cb75b07

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

@@ -8048,7 +8048,7 @@ var spine;
 			worldVertices[offset + 1] = offsetX * c + offsetY * d + y;
 		};
 		RegionAttachment.prototype.copy = function () {
-			var copy = new RegionAttachment(name);
+			var copy = new RegionAttachment(this.name);
 			copy.region = this.region;
 			copy.rendererObject = this.rendererObject;
 			copy.path = this.path;

File diff suppressed because it is too large
+ 0 - 0
spine-ts/build/spine-all.js.map


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

@@ -8048,7 +8048,7 @@ var spine;
 			worldVertices[offset + 1] = offsetX * c + offsetY * d + y;
 		};
 		RegionAttachment.prototype.copy = function () {
-			var copy = new RegionAttachment(name);
+			var copy = new RegionAttachment(this.name);
 			copy.region = this.region;
 			copy.rendererObject = this.rendererObject;
 			copy.path = this.path;

File diff suppressed because it is too large
+ 0 - 0
spine-ts/build/spine-canvas.js.map


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

@@ -8048,7 +8048,7 @@ var spine;
 			worldVertices[offset + 1] = offsetX * c + offsetY * d + y;
 		};
 		RegionAttachment.prototype.copy = function () {
-			var copy = new RegionAttachment(name);
+			var copy = new RegionAttachment(this.name);
 			copy.region = this.region;
 			copy.rendererObject = this.rendererObject;
 			copy.path = this.path;

File diff suppressed because it is too large
+ 0 - 0
spine-ts/build/spine-core.js.map


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

@@ -8048,7 +8048,7 @@ var spine;
 			worldVertices[offset + 1] = offsetX * c + offsetY * d + y;
 		};
 		RegionAttachment.prototype.copy = function () {
-			var copy = new RegionAttachment(name);
+			var copy = new RegionAttachment(this.name);
 			copy.region = this.region;
 			copy.rendererObject = this.rendererObject;
 			copy.path = this.path;

File diff suppressed because it is too large
+ 0 - 0
spine-ts/build/spine-player.js.map


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

@@ -8048,7 +8048,7 @@ var spine;
 			worldVertices[offset + 1] = offsetX * c + offsetY * d + y;
 		};
 		RegionAttachment.prototype.copy = function () {
-			var copy = new RegionAttachment(name);
+			var copy = new RegionAttachment(this.name);
 			copy.region = this.region;
 			copy.rendererObject = this.rendererObject;
 			copy.path = this.path;

File diff suppressed because it is too large
+ 0 - 0
spine-ts/build/spine-threejs.js.map


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

@@ -8048,7 +8048,7 @@ var spine;
 			worldVertices[offset + 1] = offsetX * c + offsetY * d + y;
 		};
 		RegionAttachment.prototype.copy = function () {
-			var copy = new RegionAttachment(name);
+			var copy = new RegionAttachment(this.name);
 			copy.region = this.region;
 			copy.rendererObject = this.rendererObject;
 			copy.path = this.path;

File diff suppressed because it is too large
+ 0 - 0
spine-ts/build/spine-webgl.js.map


+ 1 - 1
spine-ts/core/src/attachments/RegionAttachment.ts

@@ -214,7 +214,7 @@ module spine {
 		}
 
 		copy (): Attachment {
-			let copy = new RegionAttachment(name);
+			let copy = new RegionAttachment(this.name);
 			copy.region = this.region;
 			copy.rendererObject = this.rendererObject;
 			copy.path = this.path;

Some files were not shown because too many files changed in this diff