Skip to content

Commit

Permalink
Bugfix minecraft skin loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Avaer Kazmer committed Nov 6, 2019
1 parent 514aa28 commit 57da6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const loadModelUrl = async (href, filename = href) => {
texture.flipY = false;
texture.needsUpdate = true;
window.texture = texture;
model.traverse(o => {
model.scene.traverse(o => {
if (o.isSkinnedMesh) {
o.material.map = texture;
}
Expand Down

0 comments on commit 57da6e5

Please sign in to comment.