From 795d5330100e13171b50f4e18fb2271131858abc Mon Sep 17 00:00:00 2001 From: Azgaar Date: Thu, 19 Sep 2019 12:07:49 +0300 Subject: [PATCH 1/2] 1.0.42 --- modules/save-and-load.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/save-and-load.js b/modules/save-and-load.js index 0e983662..ea3b7bb2 100644 --- a/modules/save-and-load.js +++ b/modules/save-and-load.js @@ -776,7 +776,7 @@ function parseLoadedData(data) { // 1.0 adds zones layer zones = viewbox.insert("g", "#borders").attr("id", "zones").attr("display", "none"); zones.attr("opacity", .6).attr("stroke", null).attr("stroke-width", 0).attr("stroke-dasharray", null).attr("stroke-linecap", "butt"); - addZone(); + addZones(); if (!markers.selectAll("*").size()) {addMarkers(); turnButtonOn("toggleMarkers");} // 1.0 add fogging layer (state focus) From ce89fb0035c343bfdd30e0d93b0c428e6f411acd Mon Sep 17 00:00:00 2001 From: Azgaar Date: Thu, 19 Sep 2019 12:07:57 +0300 Subject: [PATCH 2/2] 1.0.42 --- modules/ui/heightmap-editor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui/heightmap-editor.js b/modules/ui/heightmap-editor.js index 8cee6258..0b792be3 100644 --- a/modules/ui/heightmap-editor.js +++ b/modules/ui/heightmap-editor.js @@ -174,7 +174,7 @@ function getHeight(h) { drawStates(); drawBorders(); BurgsAndStates.drawStateLabels(); - addZone(); + addZones(); addMarkers(); console.timeEnd("regenerateErasedData"); console.groupEnd("Edit Heightmap"); @@ -1190,4 +1190,4 @@ function getHeight(h) { } } -} \ No newline at end of file +}