Selaa lähdekoodia

Fix decodeAttribute reference.

Don McCurdy 6 vuotta sitten
vanhempi
commit
66225408ce
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      examples/js/loaders/DRACOLoader2.js

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

@@ -472,7 +472,7 @@ THREE.DRACOLoader.DRACOWorker = function () {
 			var attributeId = attributeIDs[ attributeName ];
 			var attribute = decoder.GetAttributeByUniqueId( dracoGeometry, attributeId );
 
-			geometry.attributes.push( this.decodeAttribute( draco, decoder, dracoGeometry, attributeName, attributeType, attribute ) );
+			geometry.attributes.push( decodeAttribute( draco, decoder, dracoGeometry, attributeName, attributeType, attribute ) );
 
 		}