mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
refactor: submap - restore river and biome data
This commit is contained in:
parent
6e38c93841
commit
72be5f8220
4 changed files with 49 additions and 26 deletions
|
|
@ -120,7 +120,7 @@ async function openTransformTool() {
|
|||
handleInput();
|
||||
}
|
||||
|
||||
async function transformMap() {
|
||||
function transformMap() {
|
||||
INFO && console.group("transformMap");
|
||||
|
||||
const cellsNumber = +byId("transformPointsInput").value;
|
||||
|
|
@ -132,7 +132,7 @@ async function openTransformTool() {
|
|||
|
||||
resetZoom(0);
|
||||
undraw();
|
||||
await Submap.resample(parentMap, options);
|
||||
Resample.process(parentMap, options);
|
||||
drawLayers();
|
||||
|
||||
INFO && console.groupEnd("transformMap");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue