@esotericsoftware/spine-pixi-v8 4.2.83 → 4.2.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4952,7 +4952,7 @@ var spine = (() => {
|
|
|
4952
4952
|
this.copyTo(copy);
|
|
4953
4953
|
copy.regionUVs = new Array(this.regionUVs.length);
|
|
4954
4954
|
Utils.arrayCopy(this.regionUVs, 0, copy.regionUVs, 0, this.regionUVs.length);
|
|
4955
|
-
copy.uvs = new Array(this.uvs.length);
|
|
4955
|
+
copy.uvs = this.uvs instanceof Float32Array ? Utils.newFloatArray(this.uvs.length) : new Array(this.uvs.length);
|
|
4956
4956
|
Utils.arrayCopy(this.uvs, 0, copy.uvs, 0, this.uvs.length);
|
|
4957
4957
|
copy.triangles = new Array(this.triangles.length);
|
|
4958
4958
|
Utils.arrayCopy(this.triangles, 0, copy.triangles, 0, this.triangles.length);
|