Browse Source

GLTFLoader: Revert returning Promise<THREE.Texture> from assignTexture()

Takahiro 6 years ago
parent
commit
699b449cb5
1 changed files with 0 additions and 2 deletions
  1. 0 2
      examples/js/loaders/GLTFLoader.js

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

@@ -2114,8 +2114,6 @@ THREE.GLTFLoader = ( function () {
 
 
 			materialParams[ textureName ] = texture;
 			materialParams[ textureName ] = texture;
 
 
-			return texture;
-
 		} );
 		} );
 
 
 	};
 	};