Skip to content

Commit

Permalink
CR: js/loader naming change
Browse files Browse the repository at this point in the history
  • Loading branch information
Zielon committed Feb 28, 2020
1 parent 1bd6489 commit 77e7cd9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/js/loaders/GLTFLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ THREE.GLTFLoader = ( function () {

this.dracoLoader = null;
this.ddsLoader = null;
this.lazy = false;
this.parserOnly = false;

}

Expand Down Expand Up @@ -97,9 +97,9 @@ THREE.GLTFLoader = ( function () {

},

setLazyLoad: function ( lazy ) {
setLazyLoad: function ( parserOnly ) {

this.lazy = lazy;
this.parserOnly = parserOnly;

},

Expand Down Expand Up @@ -221,7 +221,7 @@ THREE.GLTFLoader = ( function () {

} );

if ( this.lazy ) {
if ( this.parserOnly ) {

onLoad( { parser: parser } );

Expand Down

0 comments on commit 77e7cd9

Please sign in to comment.