mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[ts][pixi-v8] Fix currentClippingSlot not reset. Close #2757.
This commit is contained in:
parent
d11564b156
commit
da1ab49291
@ -560,6 +560,7 @@ export class Spine extends ViewContainer {
|
|||||||
this.spineAttachmentsDirty ||= spineAttachmentsDirty;
|
this.spineAttachmentsDirty ||= spineAttachmentsDirty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private currentClippingSlot: SlotsToClipping | undefined;
|
||||||
private updateAndSetPixiMask (slot: Slot, last: boolean) {
|
private updateAndSetPixiMask (slot: Slot, last: boolean) {
|
||||||
// assign/create the currentClippingSlot
|
// assign/create the currentClippingSlot
|
||||||
const attachment = slot.attachment;
|
const attachment = slot.attachment;
|
||||||
@ -614,10 +615,10 @@ export class Spine extends ViewContainer {
|
|||||||
clippingSlotToPixiMask.mask = undefined;
|
clippingSlotToPixiMask.mask = undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.currentClippingSlot = undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private currentClippingSlot: SlotsToClipping | undefined;
|
|
||||||
private transformAttachments () {
|
private transformAttachments () {
|
||||||
const currentDrawOrder = this.skeleton.drawOrder;
|
const currentDrawOrder = this.skeleton.drawOrder;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user