Skip to content

Commit

Permalink
remove unused selection param
Browse files Browse the repository at this point in the history
  • Loading branch information
bcamper committed Dec 21, 2016
1 parent ad936fb commit 3689b2f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export default class FeatureSelection {
// Queue requests for feature selection, and they will be picked up by the render loop
this.selection_request_id = (this.selection_request_id + 1) || 0;
this.requests[this.selection_request_id] = {
type: 'point',
id: this.selection_request_id,
point,
resolve,
Expand Down Expand Up @@ -125,11 +124,6 @@ export default class FeatureSelection {
continue;
}

// TODO: support other selection types, such as features within a box
if (request.type !== 'point') {
continue;
}

// Check selection map against FBO
gl.readPixels(
Math.floor(request.point.x * this.fbo_size.width),
Expand Down

0 comments on commit 3689b2f

Please sign in to comment.