@esotericsoftware/spine-canvaskit 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.
- package/dist/esm/spine-canvaskit.min.mjs +2 -2
- package/dist/esm/spine-canvaskit.mjs +1 -1
- package/dist/esm/spine-canvaskit.mjs.map +2 -2
- package/dist/iife/spine-canvaskit.js +1 -1
- package/dist/iife/spine-canvaskit.js.map +2 -2
- package/dist/iife/spine-canvaskit.min.js +2 -2
- package/package.json +2 -2
|
@@ -4783,7 +4783,7 @@ var MeshAttachment = class _MeshAttachment extends VertexAttachment {
|
|
|
4783
4783
|
this.copyTo(copy);
|
|
4784
4784
|
copy.regionUVs = new Array(this.regionUVs.length);
|
|
4785
4785
|
Utils.arrayCopy(this.regionUVs, 0, copy.regionUVs, 0, this.regionUVs.length);
|
|
4786
|
-
copy.uvs = new Array(this.uvs.length);
|
|
4786
|
+
copy.uvs = this.uvs instanceof Float32Array ? Utils.newFloatArray(this.uvs.length) : new Array(this.uvs.length);
|
|
4787
4787
|
Utils.arrayCopy(this.uvs, 0, copy.uvs, 0, this.uvs.length);
|
|
4788
4788
|
copy.triangles = new Array(this.triangles.length);
|
|
4789
4789
|
Utils.arrayCopy(this.triangles, 0, copy.triangles, 0, this.triangles.length);
|