diff --git a/index.html b/index.html index 150f4b52..ff086788 100644 --- a/index.html +++ b/index.html @@ -8028,7 +8028,7 @@ - + diff --git a/modules/dynamic/export-json.js b/modules/dynamic/export-json.js index a19a97a6..4201aa02 100644 --- a/modules/dynamic/export-json.js +++ b/modules/dynamic/export-json.js @@ -162,7 +162,7 @@ function getPackCellsData() { religion: dataArrays.religion[cellId], province: dataArrays.province[cellId] })), - vertices: pack.vertices.c.map(vertexId => ({ + vertices: Array.from(pack.vertices.p).map((_, vertexId) => ({ i: vertexId, p: pack.vertices.p[vertexId], v: pack.vertices.v[vertexId], @@ -203,11 +203,11 @@ function getGridCellsData() { temp: dataArrays.temp[cellId], prec: dataArrays.prec[cellId] })), - vertices: grid.vertices.c.map(vertexId => ({ + vertices: Array.from(grid.vertices.p).map((_, vertexId) => ({ i: vertexId, - p: pack.vertices.p[vertexId], - v: pack.vertices.v[vertexId], - c: pack.vertices.c[vertexId] + p: grid.vertices.p[vertexId], + v: grid.vertices.v[vertexId], + c: grid.vertices.c[vertexId] })), cellsDesired: grid.cellsDesired, spacing: grid.spacing, diff --git a/versioning.js b/versioning.js index 57ad9593..5271014f 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.93.11"; // generator version, update each time +const version = "1.93.12"; // generator version, update each time { document.title += " v" + version;