From 2e9dd67e73916bd1f6f477b78cef69b017ad2bbc Mon Sep 17 00:00:00 2001 From: Harald Csaszar Date: Thu, 15 Aug 2019 11:15:00 +0200 Subject: [PATCH] [csharp] Fixed MeshAttachment copies not copying rotation. Closes #1452. --- spine-csharp/src/Attachments/MeshAttachment.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spine-csharp/src/Attachments/MeshAttachment.cs b/spine-csharp/src/Attachments/MeshAttachment.cs index f9840f84c..1341aacf7 100644 --- a/spine-csharp/src/Attachments/MeshAttachment.cs +++ b/spine-csharp/src/Attachments/MeshAttachment.cs @@ -160,6 +160,8 @@ namespace Spine { copy.regionHeight = regionHeight; copy.regionOriginalWidth = regionOriginalWidth; copy.regionOriginalHeight = regionOriginalHeight; + copy.RegionRotate = RegionRotate; + copy.RegionDegrees = RegionDegrees; copy.Path = Path; copy.r = r; copy.g = g; @@ -195,6 +197,8 @@ namespace Spine { mesh.regionHeight = regionHeight; mesh.regionOriginalWidth = regionOriginalWidth; mesh.regionOriginalHeight = regionOriginalHeight; + mesh.RegionDegrees = RegionDegrees; + mesh.RegionRotate = RegionRotate; mesh.Path = Path; mesh.r = r;