Parcourir la source

GLTFLoader: Method chainable .setDRACOLoader

Takahiro il y a 7 ans
Parent
commit
1e943ba791
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;
 
 		},