Skip to content

Commit

Permalink
[ts] Closes EsotericSoftware#914, loading of PathAttachment lengths i…
Browse files Browse the repository at this point in the history
…n SkeletonJson was incorrect
  • Loading branch information
badlogic authored and aelurum committed Oct 19, 2021
1 parent 4662c5a commit 1d46b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spine-ts/core/src/SkeletonJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ module spine {

let lengths: Array<number> = Utils.newArray(vertexCount / 3, 0);
for (let i = 0; i < map.lengths.length; i++)
lengths[i++] = map.lengths[i] * scale;
lengths[i] = map.lengths[i] * scale;
path.lengths = lengths;

let color: string = this.getValue(map, "color", null);
Expand Down

0 comments on commit 1d46b0f

Please sign in to comment.