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

[C#] Internal code should access internal fields.
This commit is contained in:
John 2016-02-17 08:44:08 +08:00
commit 23900a33c0

View File

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