remove default texture base64

This commit is contained in:
Azgaar 2021-10-09 15:48:03 +03:00
parent 9116d03e76
commit eb76ec8e48
4 changed files with 20 additions and 18 deletions

View file

@ -335,7 +335,6 @@ styleFilterInput.addEventListener("change", function () {
styleTextureInput.addEventListener("change", function () {
if (this.value === "none") texture.select("image").attr("xlink:href", "");
if (this.value === "default") texture.select("image").attr("xlink:href", getDefaultTexture());
else getBase64(this.value, base64 => texture.select("image").attr("xlink:href", base64));
});