mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[unity] Fix mesh bounds on SkeletonGraphic.
This commit is contained in:
parent
4df97a8d06
commit
0199570a27
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user