From a76e90fdf35a7e1ae6dea58e947b74aa97fd7865 Mon Sep 17 00:00:00 2001 From: Davide Tantillo Date: Thu, 30 Oct 2025 09:49:05 +0100 Subject: [PATCH] [ts] Fix PathAttachment missing this and SkeletonData default fps. --- spine-ts/spine-core/src/SkeletonData.ts | 2 +- spine-ts/spine-core/src/attachments/PathAttachment.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spine-ts/spine-core/src/SkeletonData.ts b/spine-ts/spine-core/src/SkeletonData.ts index d5bfee2ea..fae69ec81 100644 --- a/spine-ts/spine-core/src/SkeletonData.ts +++ b/spine-ts/spine-core/src/SkeletonData.ts @@ -91,7 +91,7 @@ export class SkeletonData { // Nonessential /** The dopesheet FPS in Spine. Available only when nonessential data was exported. */ - fps = 0; + fps = 30; /** The path to the images directory as defined in Spine. Available only when nonessential data was exported. May be null. */ imagesPath: string | null = null; diff --git a/spine-ts/spine-core/src/attachments/PathAttachment.ts b/spine-ts/spine-core/src/attachments/PathAttachment.ts index 5d5e1a8ae..ee97a4986 100644 --- a/spine-ts/spine-core/src/attachments/PathAttachment.ts +++ b/spine-ts/spine-core/src/attachments/PathAttachment.ts @@ -58,7 +58,7 @@ export class PathAttachment extends VertexAttachment { this.copyTo(copy); copy.lengths = []; Utils.arrayCopy(this.lengths, 0, copy.lengths, 0, this.lengths.length); - copy.closed = closed; + copy.closed = this.closed; copy.constantSpeed = this.constantSpeed; copy.color.setFromColor(this.color); return copy;