diff --git a/src/plugins/node/cameras/pickFlyOrbit.js b/src/plugins/node/cameras/pickFlyOrbit.js index c1957c77..49373936 100644 --- a/src/plugins/node/cameras/pickFlyOrbit.js +++ b/src/plugins/node/cameras/pickFlyOrbit.js @@ -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();