Sfoglia il codice sorgente

GLTFLoader: Method chainable .setDRACOLoader

Takahiro 7 anni fa
parent
commit
1e943ba791
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      examples/js/loaders/GLTFLoader.js

+ 1 - 0
examples/js/loaders/GLTFLoader.js

@@ -72,6 +72,7 @@ THREE.GLTFLoader = ( function () {
 		setDRACOLoader: function ( dracoLoader ) {
 
 			this.dracoLoader = dracoLoader;
+			return this;
 
 		},