mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
formatting
was auto using spaces over tabs
This commit is contained in:
parent
dfa6098aa6
commit
8d39c09de0
@ -341,7 +341,7 @@ export class Spine extends Container {
|
||||
if (!pixiMaskSource.computed) {
|
||||
pixiMaskSource.computed = true;
|
||||
const clippingAttachment = pixiMaskSource.slot.attachment as ClippingAttachment;
|
||||
const world = new Array(clippingAttachment.worldVerticesLength);
|
||||
const world = new Array(clippingAttachment.worldVerticesLength);
|
||||
clippingAttachment.computeWorldVertices(pixiMaskSource.slot, 0, clippingAttachment.worldVerticesLength, world, 0, 2);
|
||||
mask.clear().lineStyle(0).beginFill(0x000000).drawPolygon(world);
|
||||
}
|
||||
@ -491,7 +491,7 @@ export class Spine extends Container {
|
||||
}
|
||||
|
||||
const mesh = this.getMeshForSlot(slot);
|
||||
mesh.renderable = true;
|
||||
mesh.renderable = true;
|
||||
mesh.zIndex = zIndex;
|
||||
mesh.updateFromSpineData(texture, slot.data.blendMode, slot.data.name, finalVertices, finalVerticesLength, finalIndices, finalIndicesLength, useDarkColor);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user