@@ -77,7 +77,7 @@ THREE.LineGeometry.prototype = Object.assign( Object.create( THREE.LineSegmentsG
} else if ( geometry.isBufferGeometry ) {
- this.setPositions( geometry.position.array ); // assumes non-indexed
+ this.setPositions( geometry.attributes.position.array ); // assumes non-indexed
}
@@ -143,7 +143,7 @@ THREE.LineSegmentsGeometry.prototype = Object.assign( Object.create( THREE.Insta