Added Logging Options to Improve Performance

This commit is contained in:
Onyx Azryn 2020-10-21 09:45:42 -05:00
parent e480c1c8e5
commit 6cbcc81332
18 changed files with 193 additions and 186 deletions

View file

@ -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");