mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-06 10:46:53 +08:00
[monogame] Fixed skin bones of other skins not being excluded in renderer. See #841.
This commit is contained in:
parent
3cd1557793
commit
dcf19f7021
@ -121,6 +121,11 @@ namespace Spine {
|
|||||||
|
|
||||||
for (int i = 0, n = drawOrder.Count; i < n; i++) {
|
for (int i = 0, n = drawOrder.Count; i < n; i++) {
|
||||||
Slot slot = drawOrderItems[i];
|
Slot slot = drawOrderItems[i];
|
||||||
|
if (!slot.Bone.Active) {
|
||||||
|
clipper.ClipEnd(slot);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
Attachment attachment = slot.Attachment;
|
Attachment attachment = slot.Attachment;
|
||||||
float attachmentZOffset = z + zSpacing * i;
|
float attachmentZOffset = z + zSpacing * i;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user