Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed Apr 16, 2017
1 parent 4afbe48 commit 9341217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loaders/WWOBJLoader2.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ THREE.OBJLoader2.WWOBJLoader2 = (function () {
if ( this.dataAvailable ) {

// fast-fail on bad type
if ( ! params.objAsArrayBuffer instanceof Uint8Array ) {
if ( ! ( params.objAsArrayBuffer instanceof Uint8Array ) ) {
throw 'Provided input is not of type arraybuffer! Aborting...';
}

Expand Down

0 comments on commit 9341217

Please sign in to comment.