Browse Source

Fix decodeAttribute reference.

Don McCurdy 6 years ago
parent
commit
66225408ce
1 changed files with 1 additions and 1 deletions
  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 ) );
 
 		}