Sfoglia il codice sorgente

#19401 Fix typo in VRMLoader

Stefan Wendt 5 anni fa
parent
commit
f8a440be1b
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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;
 
 		},