Browse Source

Merge pull request #520 from EsotericSoftware/pharan-patch-1

[C#] Internal code should access internal fields.
John 9 năm trước cách đây
mục cha
commit
23900a33c0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      spine-csharp/src/Attachments/WeightedMeshAttachment.cs

+ 1 - 1
spine-csharp/src/Attachments/WeightedMeshAttachment.cs

@@ -114,7 +114,7 @@ namespace Spine {
 					worldVertices[w + 1] = wy + y;
 				}
 			} else {
-				float[] ffd = slot.AttachmentVertices;
+				float[] ffd = slot.attachmentVertices;
 				for (int w = 0, v = 0, b = 0, f = 0, n = bones.Length; v < n; w += 2) {
 					float wx = 0, wy = 0;
 					int nn = bones[v++] + v;