Browse Source

[libgdx] MeshAttachment setParent should set worldVerticesLength.

NathanSweet 8 years ago
parent
commit
f3dbc650f8

+ 1 - 0
spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/attachments/MeshAttachment.java

@@ -261,6 +261,7 @@ public class MeshAttachment extends VertexAttachment {
 			regionUVs = parentMesh.regionUVs;
 			triangles = parentMesh.triangles;
 			hullLength = parentMesh.hullLength;
+			worldVerticesLength = parentMesh.worldVerticesLength;
 			edges = parentMesh.edges;
 			width = parentMesh.width;
 			height = parentMesh.height;