Răsfoiți Sursa

PR note for boolean value

Shai Ghelberg 5 ani în urmă
părinte
comite
f0d9f27193
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/core/BufferGeometry.js

+ 1 - 1
src/core/BufferGeometry.js

@@ -891,7 +891,7 @@ BufferGeometry.prototype = Object.assign( Object.create( EventDispatcher.prototy
 
 			var array = attribute.array;
 			var itemSize = attribute.itemSize;
-			var normalized = attribute.normalized === true;
+			var normalized = attribute.normalized;
 
 			var array2 = new array.constructor( indices.length * itemSize );