mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[unity] Fix mesh generator submesh buffer starting too large.
This commit is contained in:
parent
ff31888adf
commit
3a96c22c3a
@ -175,6 +175,10 @@ namespace Spine.Unity {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MeshGenerator () {
|
||||||
|
submeshes.TrimExcess();
|
||||||
|
}
|
||||||
|
|
||||||
#region Step 1 : Generate Instructions
|
#region Step 1 : Generate Instructions
|
||||||
public static void GenerateSingleSubmeshInstruction (SkeletonRendererInstruction instructionOutput, Skeleton skeleton, Material material) {
|
public static void GenerateSingleSubmeshInstruction (SkeletonRendererInstruction instructionOutput, Skeleton skeleton, Material material) {
|
||||||
ExposedList<Slot> drawOrder = skeleton.drawOrder;
|
ExposedList<Slot> drawOrder = skeleton.drawOrder;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user