mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +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
|
||||
public static void GenerateSingleSubmeshInstruction (SkeletonRendererInstruction instructionOutput, Skeleton skeleton, Material material) {
|
||||
ExposedList<Slot> drawOrder = skeleton.drawOrder;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user