Skip to content

Commit

Permalink
Fixed picking in pickFlyOrbit plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Sep 20, 2016
1 parent 8562228 commit c9ec35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/node/cameras/pickFlyOrbit.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ require([
canvas.addEventListener('DOMMouseScroll', mouseWheel, true);

function pick(canvasX, canvasY) {
scene.pick(canvasX, canvasY, { rayPick: true });
scene.pick({ canvasPos :[canvasX, canvasY], rayPick: true });
}

var scene = this.getScene();
Expand Down

0 comments on commit c9ec35a

Please sign in to comment.