- Clear the mesh before setting it up again to prevent an assert when showing/hiding a slot image.

This commit is contained in:
Dgizusse 2013-05-13 17:36:12 -04:00
parent aee230b156
commit a1570c960a

View File

@ -131,6 +131,8 @@ public class tk2dSpineSkeleton : MonoBehaviour, tk2dRuntime.ISpriteCollectionFor
}
}
mesh.Clear();
mesh.vertices = vertices;
mesh.colors = colors;
mesh.uv = uvs;