Skip to content

Commit

Permalink
Hack OBJLoader to work with machinedrum/ocean-of-thought objs
Browse files Browse the repository at this point in the history
  • Loading branch information
kschzt committed Feb 28, 2018
1 parent 6c8d94b commit 6bd5427
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions browser/vendor/three/OBJLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,11 @@ THREE.OBJLoader = ( function () {

} else if ( lineFirstChar === 'l' ) {

// TODO XXX FIXME HACK
// drop these like the old loader used to
// fixes Machinedrum - Ocean of Thought obj's
continue;

var lineParts = line.substring( 1 ).trim().split( " " );
var lineVertices = [], lineUVs = [];

Expand Down

0 comments on commit 6bd5427

Please sign in to comment.