diff --git a/examples/js/loaders/GLTFLoader.js b/examples/js/loaders/GLTFLoader.js index e130031ae5f414..d94e1b07798e1d 100644 --- a/examples/js/loaders/GLTFLoader.js +++ b/examples/js/loaders/GLTFLoader.js @@ -14,7 +14,7 @@ THREE.GLTFLoader = ( function () { this.dracoLoader = null; this.ddsLoader = null; - this.lazy = false; + this.parserOnly = false; } @@ -97,9 +97,9 @@ THREE.GLTFLoader = ( function () { }, - setLazyLoad: function ( lazy ) { + setParserOnly: function ( parserOnly ) { - this.lazy = lazy; + this.parserOnly = parserOnly; }, @@ -221,7 +221,7 @@ THREE.GLTFLoader = ( function () { } ); - if ( this.lazy ) { + if ( this.parserOnly ) { onLoad( { parser: parser } );