Explorar o código

Fix decodeAttribute reference.

Don McCurdy %!s(int64=6) %!d(string=hai) anos
pai
achega
66225408ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 ) );
 
 		}