mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Requested Changes
This commit is contained in:
parent
6cbcc81332
commit
df9ede80f3
5 changed files with 15 additions and 16 deletions
|
|
@ -164,7 +164,7 @@ function editHeightmap() {
|
|||
}
|
||||
|
||||
function regenerateErasedData() {
|
||||
GROUP && console.group("Edit Heightmap");
|
||||
INFO && console.group("Edit Heightmap");
|
||||
TIME && console.time("regenerateErasedData");
|
||||
|
||||
const change = changeHeights.checked;
|
||||
|
|
@ -205,7 +205,7 @@ function editHeightmap() {
|
|||
addMarkers();
|
||||
addZones();
|
||||
TIME && console.timeEnd("regenerateErasedData");
|
||||
GROUP && console.groupEnd("Edit Heightmap");
|
||||
INFO && console.groupEnd("Edit Heightmap");
|
||||
}
|
||||
|
||||
function restoreKeptData() {
|
||||
|
|
@ -216,7 +216,7 @@ function editHeightmap() {
|
|||
}
|
||||
|
||||
function restoreRiskedData() {
|
||||
GROUP && console.group("Edit Heightmap");
|
||||
INFO && console.group("Edit Heightmap");
|
||||
TIME && console.time("restoreRiskedData");
|
||||
|
||||
// assign pack data to grid cells
|
||||
|
|
@ -402,7 +402,7 @@ function editHeightmap() {
|
|||
});
|
||||
|
||||
TIME && console.timeEnd("restoreRiskedData");
|
||||
GROUP && console.groupEnd("Edit Heightmap");
|
||||
INFO && console.groupEnd("Edit Heightmap");
|
||||
}
|
||||
|
||||
// trigger heightmap redraw and history update if at least 1 cell is changed
|
||||
|
|
|
|||
|
|
@ -653,7 +653,7 @@ function setBase64Texture(url) {
|
|||
};
|
||||
|
||||
function fetchTextureURL(url) {
|
||||
LOG && console.log("Provided URL is", url);
|
||||
INFO && console.log("Provided URL is", url);
|
||||
const img = new Image();
|
||||
img.onload = function () {
|
||||
const canvas = document.getElementById("texturePreview");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue