From d72113963310610172ac3f36d130a133634bbdfe Mon Sep 17 00:00:00 2001 From: Avaer Kazmer Date: Wed, 6 Nov 2019 04:20:18 -0500 Subject: [PATCH] Small debugging code cleanup --- model-loader.js | 1 - 1 file changed, 1 deletion(-) diff --git a/model-loader.js b/model-loader.js index bbcf896..bb10127 100644 --- a/model-loader.js +++ b/model-loader.js @@ -191,7 +191,6 @@ const loadModelUrl = async (href, filename = href) => { const texture = new THREE.Texture(img, THREE.UVMapping, THREE.ClampToEdgeWrapping, THREE.ClampToEdgeWrapping, THREE.NearestFilter, THREE.LinearMipmapLinearFilter, THREE.RGBAFormat, THREE.UnsignedByteType, 16, THREE.LinearEncoding); texture.flipY = false; texture.needsUpdate = true; - window.texture = texture; model.scene.traverse(o => { if (o.isSkinnedMesh) { o.material.map = texture;