[unity] Fixed clipping end attachment ignored when alpha is 0. Closes #2623.

This commit is contained in:
Harald Csaszar 2024-09-05 18:04:39 +02:00
parent c9c6b98211
commit fbcc080e7e
2 changed files with 2 additions and 2 deletions

View File

@ -364,7 +364,7 @@ namespace Spine.Unity {
Slot slot = drawOrderItems[i]; Slot slot = drawOrderItems[i];
if (!slot.Bone.Active if (!slot.Bone.Active
#if SLOT_ALPHA_DISABLES_ATTACHMENT #if SLOT_ALPHA_DISABLES_ATTACHMENT
|| slot.A == 0f || (slot.A == 0f && slot.Data != clippingEndSlot)
#endif #endif
) { ) {
workingAttachmentsItems[i] = null; workingAttachmentsItems[i] = null;

View File

@ -2,7 +2,7 @@
"name": "com.esotericsoftware.spine.spine-unity", "name": "com.esotericsoftware.spine.spine-unity",
"displayName": "spine-unity Runtime", "displayName": "spine-unity Runtime",
"description": "This plugin provides the spine-unity runtime core.", "description": "This plugin provides the spine-unity runtime core.",
"version": "4.2.83", "version": "4.2.84",
"unity": "2018.3", "unity": "2018.3",
"author": { "author": {
"name": "Esoteric Software", "name": "Esoteric Software",