mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 02:58:44 +08:00
- Clear the mesh before setting it up again to prevent an assert when showing/hiding a slot image.
This commit is contained in:
parent
aee230b156
commit
a1570c960a
@ -131,6 +131,8 @@ public class tk2dSpineSkeleton : MonoBehaviour, tk2dRuntime.ISpriteCollectionFor
|
||||
}
|
||||
}
|
||||
|
||||
mesh.Clear();
|
||||
|
||||
mesh.vertices = vertices;
|
||||
mesh.colors = colors;
|
||||
mesh.uv = uvs;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user