@esotericsoftware/spine-canvas 4.2.82 → 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/LICENSE +12 -12
- package/dist/AssetManager.d.ts +6 -6
- package/dist/AssetManager.js +7 -7
- package/dist/CanvasTexture.d.ts +6 -6
- package/dist/CanvasTexture.js +7 -7
- package/dist/SkeletonRenderer.d.ts +6 -6
- package/dist/SkeletonRenderer.js +7 -7
- package/dist/esm/spine-canvas.min.mjs +1 -1
- package/dist/esm/spine-canvas.mjs +1 -1
- package/dist/esm/spine-canvas.mjs.map +2 -2
- package/dist/iife/spine-canvas.js +1 -1
- package/dist/iife/spine-canvas.js.map +2 -2
- package/dist/iife/spine-canvas.min.js +1 -1
- package/package.json +2 -2
|
@@ -4927,7 +4927,7 @@ var spine = (() => {
|
|
|
4927
4927
|
this.copyTo(copy);
|
|
4928
4928
|
copy.regionUVs = new Array(this.regionUVs.length);
|
|
4929
4929
|
Utils.arrayCopy(this.regionUVs, 0, copy.regionUVs, 0, this.regionUVs.length);
|
|
4930
|
-
copy.uvs = new Array(this.uvs.length);
|
|
4930
|
+
copy.uvs = this.uvs instanceof Float32Array ? Utils.newFloatArray(this.uvs.length) : new Array(this.uvs.length);
|
|
4931
4931
|
Utils.arrayCopy(this.uvs, 0, copy.uvs, 0, this.uvs.length);
|
|
4932
4932
|
copy.triangles = new Array(this.triangles.length);
|
|
4933
4933
|
Utils.arrayCopy(this.triangles, 0, copy.triangles, 0, this.triangles.length);
|