소스 검색

#19401 Fix typo in VRMLoader

Stefan Wendt 5 년 전
부모
커밋
f8a440be1b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      examples/js/loaders/VRMLoader.js
  2. 1 1
      examples/jsm/loaders/VRMLoader.js

+ 1 - 1
examples/js/loaders/VRMLoader.js

@@ -41,7 +41,7 @@ THREE.VRMLoader = ( function () {
 
 		setDRACOLoader: function ( dracoLoader ) {
 
-			this.glTFLoader.setDRACOLoader( dracoLoader );
+			this.gltfLoader.setDRACOLoader( dracoLoader );
 			return this;
 
 		},

+ 1 - 1
examples/jsm/loaders/VRMLoader.js

@@ -46,7 +46,7 @@ var VRMLoader = ( function () {
 
 		setDRACOLoader: function ( dracoLoader ) {
 
-			this.glTFLoader.setDRACOLoader( dracoLoader );
+			this.gltfLoader.setDRACOLoader( dracoLoader );
 			return this;
 
 		},