Skip to content

Commit

Permalink
Merge pull request mrdoob#16117 from sciecode/dev2
Browse files Browse the repository at this point in the history
LWOLoader: clean up
  • Loading branch information
mrdoob authored Mar 31, 2019
2 parents 74c958c + 641e8d6 commit 3c863b8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/js/loaders/LWOLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ THREE.LWOLoader = ( function () {

var maps = {};

for ( name in textureNodes ) {
for ( var name in textureNodes ) {

var node = textureNodes[ name ];
var path = node.fileName;
Expand Down Expand Up @@ -1164,7 +1164,6 @@ THREE.LWOLoader = ( function () {
}
break;
case 'TRNL':
case 'REFL':
case 'GLOS':
case 'SHRP':
case 'RFOP':
Expand All @@ -1178,9 +1177,7 @@ THREE.LWOLoader = ( function () {
case 'GLOW':
case 'LINE':
case 'ALPH':
case 'LINE':
case 'VCOL':
case 'ENAB':
this.reader.skip( length );
break;
case 'SURF':
Expand Down Expand Up @@ -1487,7 +1484,6 @@ THREE.LWOLoader = ( function () {
// if break; is called directly, the position in the lwoTree is not created
// any sub chunks and forms are added to the parent form instead
case 'META':
case 'NNDS':
case 'NODS':
case 'NDTA':
case 'ADAT':
Expand Down

0 comments on commit 3c863b8

Please sign in to comment.