mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
[unity] Fixed render separator broken with slot alpha 0. Slot alpha 0 now skips attachments at multiple submeshes as well. Closes #2920.
This commit is contained in:
parent
50aca5e231
commit
6e281d6de7
@ -603,7 +603,11 @@ namespace Spine.Unity {
|
||||
|
||||
for (int slotIndex = instruction.startSlot; slotIndex < instruction.endSlot; slotIndex++) {
|
||||
Slot slot = drawOrderItems[slotIndex];
|
||||
if (!slot.Bone.Active) {
|
||||
if (!slot.Bone.Active
|
||||
#if SLOT_ALPHA_DISABLES_ATTACHMENT
|
||||
|| slot.A == 0f
|
||||
#endif
|
||||
) {
|
||||
clipper.ClipEnd(slot);
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "com.esotericsoftware.spine.spine-unity",
|
||||
"displayName": "spine-unity Runtime",
|
||||
"description": "This plugin provides the spine-unity runtime core.",
|
||||
"version": "4.2.109",
|
||||
"version": "4.2.110",
|
||||
"unity": "2018.3",
|
||||
"author": {
|
||||
"name": "Esoteric Software",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user