river editor rework - data checking

This commit is contained in:
Azgaar 2021-07-25 01:37:48 +03:00
parent 424980f5be
commit a1425bcb54
8 changed files with 586 additions and 218 deletions

View file

@ -706,6 +706,14 @@ function parseLoadedData(data) {
statesHalo.attr("opacity", opacity).attr("filter", "blur(5px)");
regions.attr("opacity", null).attr("filter", null);
}
if (version < 1.65) {
// v 1.65 changed rivers data
for (const river of pack.rivers) {
river.sourceWidth = 0;
// get points and cells
}
}
})();
void (function checkDataIntegrity() {