Browse Source

Fixed closure compiler warning.

Mr.doob 11 years ago
parent
commit
df839dcd6d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/core/Geometry99.js

+ 2 - 1
src/core/Geometry99.js

@@ -148,7 +148,8 @@ THREE.Geometry99.prototype.populateProxyFromBuffer = function ( attr, buffername
 		var array = this.attributes[ buffername ].array;
 		var array = this.attributes[ buffername ].array;
 		var size = itemsize || this.attributes[ buffername ].itemSize;
 		var size = itemsize || this.attributes[ buffername ].itemSize;
 		var start = offset || 0;
 		var start = offset || 0;
-		var count = count || (array.length / size - start);
+
+		count = count || ( array.length / size - start );
 
 
 		for ( var i = start, l = start + count; i < l; i ++ ) {
 		for ( var i = start, l = start + count; i < l; i ++ ) {