[csharp] Fixed MeshAttachment copies not copying rotation. Closes #1452.

This commit is contained in:
Harald Csaszar 2019-08-15 11:15:00 +02:00
parent a6273e2a3f
commit 2e9dd67e73

View File

@ -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;