@esotericsoftware/spine-phaser-v3 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/SpineGameObject.d.ts +6 -6
- package/dist/SpineGameObject.js +7 -7
- package/dist/SpinePlugin.d.ts +6 -6
- package/dist/SpinePlugin.js +7 -7
- package/dist/esm/spine-phaser-v3.min.mjs +1 -1
- package/dist/esm/spine-phaser-v3.mjs +1 -1
- package/dist/esm/spine-phaser-v3.mjs.map +2 -2
- package/dist/iife/spine-phaser-v3.js +1 -1
- package/dist/iife/spine-phaser-v3.js.map +2 -2
- package/dist/iife/spine-phaser-v3.min.js +1 -1
- package/dist/keys.d.ts +6 -6
- package/dist/keys.js +7 -7
- package/dist/require-shim.d.ts +6 -6
- package/dist/require-shim.js +7 -7
- package/package.json +4 -4
|
@@ -4802,7 +4802,7 @@ var MeshAttachment = class _MeshAttachment extends VertexAttachment {
|
|
|
4802
4802
|
this.copyTo(copy);
|
|
4803
4803
|
copy.regionUVs = new Array(this.regionUVs.length);
|
|
4804
4804
|
Utils.arrayCopy(this.regionUVs, 0, copy.regionUVs, 0, this.regionUVs.length);
|
|
4805
|
-
copy.uvs = new Array(this.uvs.length);
|
|
4805
|
+
copy.uvs = this.uvs instanceof Float32Array ? Utils.newFloatArray(this.uvs.length) : new Array(this.uvs.length);
|
|
4806
4806
|
Utils.arrayCopy(this.uvs, 0, copy.uvs, 0, this.uvs.length);
|
|
4807
4807
|
copy.triangles = new Array(this.triangles.length);
|
|
4808
4808
|
Utils.arrayCopy(this.triangles, 0, copy.triangles, 0, this.triangles.length);
|