소스 검색

Implemented @m-schuetz's bugfix for indexed BufferGeometry in Raycaster. See #4768.

Mr.doob 11 년 전
부모
커밋
ac88539320
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/Raycaster.js

+ 1 - 1
src/core/Raycaster.js

@@ -143,7 +143,7 @@
 
 					if ( offsets.length === 0 ) {
 
-						offsets = [ { start: 0, count: positions.length, index: 0 } ];
+						offsets = [ { start: 0, count: indices.length, index: 0 } ];
 
 					}