From 65fa4015dd5906acdf7dcdf324cd60d085de2bea Mon Sep 17 00:00:00 2001 From: Wojciech <wojtas.zielonka@gmail.com> Date: Fri, 28 Feb 2020 11:45:48 +0100 Subject: [PATCH] CR: js/loader naming change Setter naming --- examples/js/loaders/GLTFLoader.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 } );