Explorar o código

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

Takahiro %!s(int64=6) %!d(string=hai) anos
pai
achega
699b449cb5
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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;
 
-			return texture;
-
 		} );
 
 	};