mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[ts][pixi] Fix not working alpha channel in mesh animations (#2439)
This commit is contained in:
parent
dfec98895f
commit
43d2564b0a
@ -99,6 +99,7 @@ export class SlotMesh extends Mesh implements ISlotMesh {
|
|||||||
SlotMesh.auxColor[3] = finalVertices[5];
|
SlotMesh.auxColor[3] = finalVertices[5];
|
||||||
|
|
||||||
this.tint = SlotMesh.auxColor;
|
this.tint = SlotMesh.auxColor;
|
||||||
|
this.alpha = SlotMesh.auxColor[3];
|
||||||
this.blendMode = SpineTexture.toPixiBlending(slotBlendMode);
|
this.blendMode = SpineTexture.toPixiBlending(slotBlendMode);
|
||||||
|
|
||||||
if (this.geometry.indexBuffer.data.length !== finalIndices.length) {
|
if (this.geometry.indexBuffer.data.length !== finalIndices.length) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user