mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[ts] Closes #914, loading of PathAttachment lengths in SkeletonJson was incorrect
This commit is contained in:
parent
fcf9d3bb35
commit
54cb4dfa02
@ -4954,7 +4954,7 @@ var spine;
|
||||
this.readVertices(map, path, vertexCount << 1);
|
||||
var lengths = spine.Utils.newArray(vertexCount / 3, 0);
|
||||
for (var i = 0; i < map.lengths.length; i++)
|
||||
lengths[i++] = map.lengths[i] * scale;
|
||||
lengths[i] = map.lengths[i] * scale;
|
||||
path.lengths = lengths;
|
||||
var color = this.getValue(map, "color", null);
|
||||
if (color != null)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4954,7 +4954,7 @@ var spine;
|
||||
this.readVertices(map, path, vertexCount << 1);
|
||||
var lengths = spine.Utils.newArray(vertexCount / 3, 0);
|
||||
for (var i = 0; i < map.lengths.length; i++)
|
||||
lengths[i++] = map.lengths[i] * scale;
|
||||
lengths[i] = map.lengths[i] * scale;
|
||||
path.lengths = lengths;
|
||||
var color = this.getValue(map, "color", null);
|
||||
if (color != null)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4634,7 +4634,7 @@ var spine;
|
||||
this.readVertices(map, path, vertexCount << 1);
|
||||
var lengths = spine.Utils.newArray(vertexCount / 3, 0);
|
||||
for (var i = 0; i < map.lengths.length; i++)
|
||||
lengths[i++] = map.lengths[i] * scale;
|
||||
lengths[i] = map.lengths[i] * scale;
|
||||
path.lengths = lengths;
|
||||
var color = this.getValue(map, "color", null);
|
||||
if (color != null)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4634,7 +4634,7 @@ var spine;
|
||||
this.readVertices(map, path, vertexCount << 1);
|
||||
var lengths = spine.Utils.newArray(vertexCount / 3, 0);
|
||||
for (var i = 0; i < map.lengths.length; i++)
|
||||
lengths[i++] = map.lengths[i] * scale;
|
||||
lengths[i] = map.lengths[i] * scale;
|
||||
path.lengths = lengths;
|
||||
var color = this.getValue(map, "color", null);
|
||||
if (color != null)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4634,7 +4634,7 @@ var spine;
|
||||
this.readVertices(map, path, vertexCount << 1);
|
||||
var lengths = spine.Utils.newArray(vertexCount / 3, 0);
|
||||
for (var i = 0; i < map.lengths.length; i++)
|
||||
lengths[i++] = map.lengths[i] * scale;
|
||||
lengths[i] = map.lengths[i] * scale;
|
||||
path.lengths = lengths;
|
||||
var color = this.getValue(map, "color", null);
|
||||
if (color != null)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -4634,7 +4634,7 @@ var spine;
|
||||
this.readVertices(map, path, vertexCount << 1);
|
||||
var lengths = spine.Utils.newArray(vertexCount / 3, 0);
|
||||
for (var i = 0; i < map.lengths.length; i++)
|
||||
lengths[i++] = map.lengths[i] * scale;
|
||||
lengths[i] = map.lengths[i] * scale;
|
||||
path.lengths = lengths;
|
||||
var color = this.getValue(map, "color", null);
|
||||
if (color != null)
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -324,7 +324,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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user