소스 검색

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 );