From 73318d6c79b34ca8201e91e120e85a3cc2f9dacd Mon Sep 17 00:00:00 2001 From: Luke Ingram Date: Wed, 3 Jan 2024 17:41:17 -0400 Subject: [PATCH 1/4] [ts] Resolve error when running npm install. --- spine-ts/spine-player/src/PlayerEditor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-ts/spine-player/src/PlayerEditor.ts b/spine-ts/spine-player/src/PlayerEditor.ts index ef513677e..329f0d2ab 100644 --- a/spine-ts/spine-player/src/PlayerEditor.ts +++ b/spine-ts/spine-player/src/PlayerEditor.ts @@ -112,7 +112,7 @@ body { margin: 0px; } this.startPlayer(); }); - codeElement.children[0].style.height = "100%"; + (codeElement.children[0] as HTMLElement).style.height = "100%"; this.setCode(SpinePlayerEditor.DEFAULT_CODE); }) } From dfec98895fbfaba54364978b44163963d4cc60a8 Mon Sep 17 00:00:00 2001 From: Steven Burns Date: Sun, 7 Jan 2024 17:35:02 -0600 Subject: [PATCH 2/4] Update README.md (#2437) Small fix in the documentation, it was mentioning spine-godot when it should mention spine-flutter. --- spine-flutter/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-flutter/README.md b/spine-flutter/README.md index 83348a374..f30632529 100644 --- a/spine-flutter/README.md +++ b/spine-flutter/README.md @@ -1,6 +1,6 @@ # spine-flutter -The spine-godot runtime provides functionality to load, manipulate and render [Spine](https://esotericsoftware.com) skeletal animation data using [Flutter](https://flutter.dev/). spine-flutter is based on [spine-cpp](../spine-cpp) and supports desktop and mobile Flutter deployment targets. spine-flutter does not support Flutter's web deployment target. +The spine-flutter runtime provides functionality to load, manipulate and render [Spine](https://esotericsoftware.com) skeletal animation data using [Flutter](https://flutter.dev/). spine-flutter is based on [spine-cpp](../spine-cpp) and supports desktop and mobile Flutter deployment targets. spine-flutter does not support Flutter's web deployment target. # See the [spine-flutter documentation](https://esotericsoftware.com/spine-flutter) for in-depth information. From 43d2564b0a35eb5f2ec5cf3cc60880cd94f321c1 Mon Sep 17 00:00:00 2001 From: Vadim Goncharov Date: Mon, 8 Jan 2024 02:35:47 +0300 Subject: [PATCH 3/4] [ts][pixi] Fix not working alpha channel in mesh animations (#2439) --- spine-ts/spine-pixi/src/SlotMesh.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/spine-ts/spine-pixi/src/SlotMesh.ts b/spine-ts/spine-pixi/src/SlotMesh.ts index cafb14981..f62563f45 100644 --- a/spine-ts/spine-pixi/src/SlotMesh.ts +++ b/spine-ts/spine-pixi/src/SlotMesh.ts @@ -99,6 +99,7 @@ export class SlotMesh extends Mesh implements ISlotMesh { SlotMesh.auxColor[3] = finalVertices[5]; this.tint = SlotMesh.auxColor; + this.alpha = SlotMesh.auxColor[3]; this.blendMode = SpineTexture.toPixiBlending(slotBlendMode); if (this.geometry.indexBuffer.data.length !== finalIndices.length) { From b3aa3e0c48fd35b87a8899407feb019dd8305af2 Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Wed, 10 Jan 2024 17:06:34 +0100 Subject: [PATCH 4/4] [unity] Fixed GetRepackedSkin issue with polygon packing and 270 degree rotation and atlas is non-square. Closes #2445. --- .../Runtime/spine-unity/Utility/AtlasUtilities.cs | 11 ++++++----- spine-unity/Assets/Spine/package.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/spine-unity/Assets/Spine/Runtime/spine-unity/Utility/AtlasUtilities.cs b/spine-unity/Assets/Spine/Runtime/spine-unity/Utility/AtlasUtilities.cs index 7f38e3db1..1587ff414 100644 --- a/spine-unity/Assets/Spine/Runtime/spine-unity/Utility/AtlasUtilities.cs +++ b/spine-unity/Assets/Spine/Runtime/spine-unity/Utility/AtlasUtilities.cs @@ -740,11 +740,12 @@ namespace Spine.Unity.AttachmentTools { float v2 = uvRect.yMin; if (referenceRegion.degrees == 270) { - // at a 270 degree region, u2/v2 deltas are swapped, and delta-v is negative. - float du = u2 - u; - float dv = v - v2; - u2 = u + dv; - v2 = v - du; + // at a 270 degree region, u2/v2 deltas and atlas width/height are swapped, and delta-v is negative. + float du = uvRect.width; // u2 - u; + float dv = uvRect.height; // v - v2; + float atlasAspectRatio = page.width / page.height; + u2 = u + (dv / atlasAspectRatio); + v2 = v - (du * atlasAspectRatio); } return new AtlasRegion { diff --git a/spine-unity/Assets/Spine/package.json b/spine-unity/Assets/Spine/package.json index 5219d6f12..a37922cd6 100644 --- a/spine-unity/Assets/Spine/package.json +++ b/spine-unity/Assets/Spine/package.json @@ -2,7 +2,7 @@ "name": "com.esotericsoftware.spine.spine-unity", "displayName": "spine-unity Runtime", "description": "This plugin provides the spine-unity runtime core.", - "version": "4.1.33", + "version": "4.1.34", "unity": "2018.3", "author": { "name": "Esoteric Software",