mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[ts] Fix PathAttachment missing this and SkeletonData default fps.
This commit is contained in:
parent
1a9ea6edd0
commit
a76e90fdf3
@ -91,7 +91,7 @@ export class SkeletonData {
|
|||||||
|
|
||||||
// Nonessential
|
// Nonessential
|
||||||
/** The dopesheet FPS in Spine. Available only when nonessential data was exported. */
|
/** 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. */
|
/** The path to the images directory as defined in Spine. Available only when nonessential data was exported. May be null. */
|
||||||
imagesPath: string | null = null;
|
imagesPath: string | null = null;
|
||||||
|
|||||||
@ -58,7 +58,7 @@ export class PathAttachment extends VertexAttachment {
|
|||||||
this.copyTo(copy);
|
this.copyTo(copy);
|
||||||
copy.lengths = [];
|
copy.lengths = [];
|
||||||
Utils.arrayCopy(this.lengths, 0, copy.lengths, 0, this.lengths.length);
|
Utils.arrayCopy(this.lengths, 0, copy.lengths, 0, this.lengths.length);
|
||||||
copy.closed = closed;
|
copy.closed = this.closed;
|
||||||
copy.constantSpeed = this.constantSpeed;
|
copy.constantSpeed = this.constantSpeed;
|
||||||
copy.color.setFromColor(this.color);
|
copy.color.setFromColor(this.color);
|
||||||
return copy;
|
return copy;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user