Explorar el Código

Fix decodeAttribute reference.

Don McCurdy hace 6 años
padre
commit
66225408ce
Se han modificado 1 ficheros con 1 adiciones y 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 ) );
 
 		}