소스 검색

Merge branch 'patch-6' of https://github.com/brason/three.js into dev

Conflicts:
	src/core/BufferGeometry.js
Mr.doob 10 년 전
부모
커밋
c2da7a27d3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/BufferGeometry.js

+ 1 - 1
src/core/BufferGeometry.js

@@ -474,7 +474,7 @@ THREE.BufferGeometry.prototype = {
 		if ( geometry.colors.length > 0 ) {
 		if ( geometry.colors.length > 0 ) {
 
 
 			var colors = new Float32Array( geometry.colors.length * 3 );
 			var colors = new Float32Array( geometry.colors.length * 3 );
-			this.addAttribute( 'color', new THREE.BufferAttribute( colors, 3 ).copyVector3sArray( geometry.colors ) );
+			this.addAttribute( 'color', new THREE.BufferAttribute( colors, 3 ).copyColorsArray( geometry.colors ) );
 
 
 		}
 		}