[libgdx] MeshAttachment setParent should set worldVerticesLength.

This commit is contained in:
NathanSweet 2016-12-28 19:51:31 +01:00
parent 0a423c3757
commit f3dbc650f8

View File

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