[ts] Closes #914, loading of PathAttachment lengths in SkeletonJson was incorrect

This commit is contained in:
badlogic 2017-06-04 11:47:15 +02:00
parent fcf9d3bb35
commit 54cb4dfa02
13 changed files with 13 additions and 13 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);