From d019981303f80fefc804634b7f7e032dc0b422ac Mon Sep 17 00:00:00 2001 From: John Date: Tue, 16 Feb 2016 19:04:45 +0800 Subject: [PATCH 01/10] Internal code should access internal fields. --- spine-csharp/src/Attachments/WeightedMeshAttachment.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-csharp/src/Attachments/WeightedMeshAttachment.cs b/spine-csharp/src/Attachments/WeightedMeshAttachment.cs index 2b4b56524..a82567020 100644 --- a/spine-csharp/src/Attachments/WeightedMeshAttachment.cs +++ b/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; From 4d3b007c996fb9a6937dd783ae3e2e0edca26cb6 Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Tue, 16 Feb 2016 20:39:24 +0100 Subject: [PATCH 02/10] C89 updates. --- spine-c/.cproject | 4 +- spine-c/include/spine/extension.h | 2 - spine-c/src/spine/Bone.c | 26 ++++---- spine-c/src/spine/IkConstraint.c | 64 +++++++++++-------- .../src/com/esotericsoftware/spine/Bone.java | 14 ++-- 5 files changed, 59 insertions(+), 51 deletions(-) diff --git a/spine-c/.cproject b/spine-c/.cproject index 66072cca1..3b9555901 100644 --- a/spine-c/.cproject +++ b/spine-c/.cproject @@ -36,6 +36,7 @@ + -