소스 검색

GLTFLoader: Continue loading even if textures are missing.

Mr.doob 8 년 전
부모
커밋
67b4a111bc
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      examples/js/loaders/GLTFLoader.js

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

@@ -795,7 +795,11 @@ THREE.GLTFLoader = ( function () {
 
 						resolve( _texture );
 
-					}.bind( this ) );
+					}.bind( this ), undefined, function () {
+
+						resolve();
+
+					} );
 
 				}.bind( this ) );