Browse Source

GLTFExporter: Fix for loop typo.

Takahiro 7 years ago
parent
commit
207c4a8685
1 changed files with 1 additions and 1 deletions
  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;