[unity] Fix mesh bounds on SkeletonGraphic.

This commit is contained in:
John 2017-02-17 10:22:33 +08:00 committed by GitHub
parent 4df97a8d06
commit 0199570a27

View File

@ -96,7 +96,7 @@ namespace Spine.Unity.MeshGeneration {
// Apply scale to vertices
meshBoundsMax.x *= scale; meshBoundsMax.y *= scale;
meshBoundsMin.x *= scale; meshBoundsMax.y *= scale;
meshBoundsMin.x *= scale; meshBoundsMin.y *= scale;
var vertices = this.meshVertices;
for (int i = 0; i < totalVertexCount; i++) {
Vector3 p = vertices[i];