mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-25 11:11:24 +08:00
[unity] Fixed clipping end attachment ignored when alpha is 0. Closes #2623.
This commit is contained in:
parent
c9c6b98211
commit
fbcc080e7e
@ -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;
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user