Added Logging Options to Improve Performance

This commit is contained in:
Onyx Azryn 2020-10-10 06:38:05 -05:00
parent 05f54ab9e1
commit fbab301e41
18 changed files with 189 additions and 184 deletions

View file

@ -653,7 +653,7 @@ function setBase64Texture(url) {
};
function fetchTextureURL(url) {
console.log("Provided URL is", url);
DEBUG && console.log("Provided URL is", url);
const img = new Image();
img.onload = function () {
const canvas = document.getElementById("texturePreview");