mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-09 16:48:43 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
95ceb64920
@ -125,7 +125,6 @@ public class tk2dSpineSkeleton : MonoBehaviour, tk2dRuntime.ISpriteCollectionFor
|
||||
}
|
||||
}
|
||||
|
||||
renderer.sharedMaterial = skeletonDataAsset.spritesData.inst.materials[0];
|
||||
#if UNITY_EDITOR
|
||||
UpdateEditorGizmo();
|
||||
#endif
|
||||
@ -140,6 +139,9 @@ public class tk2dSpineSkeleton : MonoBehaviour, tk2dRuntime.ISpriteCollectionFor
|
||||
if (attachment is RegionAttachment) quadCount++;
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
if (mesh.subMeshCount == submeshIndices.Count)
|
||||
#endif
|
||||
if (quadCount == cachedQuadCount) return;
|
||||
|
||||
cachedQuadCount = quadCount;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user