Skip to content

Commit

Permalink
[monogame] Fixed skin bones of other skins not being excluded in rend…
Browse files Browse the repository at this point in the history
…erer. See #841.
  • Loading branch information
HaraldCsaszar committed Feb 5, 2025
1 parent 3cd1557 commit dcf19f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spine-monogame/spine-monogame/src/SkeletonRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ public void Draw (Skeleton skeleton) {

for (int i = 0, n = drawOrder.Count; i < n; i++) {
Slot slot = drawOrderItems[i];
if (!slot.Bone.Active) {
clipper.ClipEnd(slot);
continue;
}

Attachment attachment = slot.Attachment;
float attachmentZOffset = z + zSpacing * i;

Expand Down

0 comments on commit dcf19f7

Please sign in to comment.