Jelajahi Sumber

#19401 Fix typo in VRMLoader

Stefan Wendt 5 tahun lalu
induk
melakukan
f8a440be1b
2 mengubah file dengan 2 tambahan dan 2 penghapusan
  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;
 
 		},