Explorar o código

#19401 Fix typo in VRMLoader

Stefan Wendt %!s(int64=5) %!d(string=hai) anos
pai
achega
f8a440be1b
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  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;
 
 		},