@esotericsoftware/spine-canvaskit 4.2.64 → 4.2.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3528,6 +3528,11 @@ var spine = (() => {
|
|
|
3528
3528
|
if (!(slotAttachment instanceof VertexAttachment) || slotAttachment.timelineAttachment != attachment)
|
|
3529
3529
|
return;
|
|
3530
3530
|
}
|
|
3531
|
+
if (direction == 1 /* mixOut */) {
|
|
3532
|
+
if (blend == 0 /* setup */)
|
|
3533
|
+
slot.sequenceIndex = -1;
|
|
3534
|
+
return;
|
|
3535
|
+
}
|
|
3531
3536
|
let frames = this.frames;
|
|
3532
3537
|
if (time < frames[0]) {
|
|
3533
3538
|
if (blend == 0 /* setup */ || blend == 1 /* first */)
|
|
@@ -11857,7 +11862,7 @@ var spine = (() => {
|
|
|
11857
11862
|
async function loadTextureAtlas(ck, atlasFile, readFile) {
|
|
11858
11863
|
const atlas = new TextureAtlas(bufferToUtf8String(await readFile(atlasFile)));
|
|
11859
11864
|
const slashIndex = atlasFile.lastIndexOf("/");
|
|
11860
|
-
const parentDir = slashIndex >= 0 ? atlasFile.substring(0, slashIndex + 1)
|
|
11865
|
+
const parentDir = slashIndex >= 0 ? atlasFile.substring(0, slashIndex + 1) : "";
|
|
11861
11866
|
for (const page of atlas.pages) {
|
|
11862
11867
|
const texture = await CanvasKitTexture.fromFile(
|
|
11863
11868
|
ck,
|