浏览代码

PR note for boolean value

Shai Ghelberg 5 年之前
父节点
当前提交
f0d9f27193
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 );