mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
feat: integrate ice generation and recalculation in heightmap editing
This commit is contained in:
parent
a2139f1aee
commit
f726c911b8
1 changed files with 7 additions and 0 deletions
|
|
@ -259,6 +259,8 @@ function editHeightmap(options) {
|
|||
Rivers.specify();
|
||||
Lakes.defineNames();
|
||||
|
||||
Ice.generate();
|
||||
|
||||
Military.generate();
|
||||
Markers.generate();
|
||||
Zones.generate();
|
||||
|
|
@ -465,6 +467,11 @@ function editHeightmap(options) {
|
|||
.attr("id", d => base + d);
|
||||
});
|
||||
|
||||
// recalculate ice
|
||||
Ice.clear();
|
||||
Ice.generate();
|
||||
drawIce();
|
||||
|
||||
TIME && console.timeEnd("restoreRiskedData");
|
||||
INFO && console.groupEnd("Edit Heightmap");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue