Parcourir la source

GLTFExporter: Fix for loop typo.

Takahiro il y a 7 ans
Parent
commit
207c4a8685
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      examples/js/exporters/GLTFExporter.js

+ 1 - 1
examples/js/exporters/GLTFExporter.js

@@ -233,7 +233,7 @@ THREE.GLTFExporter.prototype = {
 
 				if ( padByte !== 0 ) {
 
-					for ( var i = arrayBuffer.byteLength; i < paddedLength; i < il ) {
+					for ( var i = arrayBuffer.byteLength; i < paddedLength; i ++ ) {
 
 						array[ i ] = padByte;