Skip to content

Commit 624465f

Browse files
committed
Projector: Fixed remaining attributes.index reference.
1 parent 761c541 commit 624465f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/js/renderers/Projector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,9 +616,9 @@ THREE.Projector = function () {
616616

617617
}
618618

619-
if ( attributes.index !== undefined ) {
619+
if ( geometry.index !== null ) {
620620

621-
var indices = attributes.index.array;
621+
var indices = geometry.index.array;
622622

623623
for ( var i = 0, l = indices.length; i < l; i += 2 ) {
624624

0 commit comments

Comments
 (0)