mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 02:01:22 +01:00
river editor rework - data checking
This commit is contained in:
parent
424980f5be
commit
a1425bcb54
8 changed files with 586 additions and 218 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue