Skip to content

Commit

Permalink
Small debugging code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Avaer Kazmer committed Nov 6, 2019
1 parent 57da6e5 commit d721139
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion model-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d721139

Please sign in to comment.