mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
Added Logging Options to Improve Performance
This commit is contained in:
parent
e480c1c8e5
commit
6cbcc81332
18 changed files with 193 additions and 186 deletions
|
|
@ -653,7 +653,7 @@ function setBase64Texture(url) {
|
|||
};
|
||||
|
||||
function fetchTextureURL(url) {
|
||||
console.log("Provided URL is", url);
|
||||
LOG && 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