Browse Source

Added mesh.MarkDynamic().

NathanSweet 12 years ago
parent
commit
48cfd1d874
1 changed files with 1 additions and 0 deletions
  1. 1 0
      spine-unity/Assets/Plugins/Spine/SkeletonComponent.cs

+ 1 - 0
spine-unity/Assets/Plugins/Spine/SkeletonComponent.cs

@@ -55,6 +55,7 @@ public class SkeletonComponent : MonoBehaviour {
 		GetComponent<MeshFilter>().mesh = mesh;
 		mesh.name = "Skeleton Mesh";
 		mesh.hideFlags = HideFlags.HideAndDontSave;
+		mesh.MarkDynamic();
 
 		renderer.sharedMaterial = skeletonDataAsset.atlasAsset.material;