Skip to content

Commit

Permalink
Merge pull request #10631 from kaisalmen/WWOBJLoader2
Browse files Browse the repository at this point in the history
OBJLoader2 and WWOBJLoader2
  • Loading branch information
mrdoob authored Mar 26, 2017
2 parents 91aa13f + 0ff805f commit ff25afe
Show file tree
Hide file tree
Showing 7 changed files with 3,419 additions and 2 deletions.
3 changes: 3 additions & 0 deletions examples/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ var files = {
"webgl_loader_msgpack",
"webgl_loader_obj",
"webgl_loader_obj_mtl",
"webgl_loader_obj2",
"webgl_loader_obj2_ww",
"webgl_loader_obj2_ww_parallels",
"webgl_loader_nrrd",
"webgl_loader_pcd",
"webgl_loader_pdb",
Expand Down
3 changes: 1 addition & 2 deletions examples/js/loaders/OBJLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -720,8 +720,7 @@ THREE.OBJLoader.prototype = {

}

var multiMaterial = new THREE.MultiMaterial( createdMaterials );
mesh = ( ! isLine ? new THREE.Mesh( buffergeometry, multiMaterial ) : new THREE.LineSegments( buffergeometry, multiMaterial ) );
mesh = ( ! isLine ? new THREE.Mesh( buffergeometry, createdMaterials ) : new THREE.LineSegments( buffergeometry, createdMaterials ) );

} else {

Expand Down
Loading

0 comments on commit ff25afe

Please sign in to comment.