Lasers now interact with the tablet in edit mode.

This commit is contained in:
Anthony J. Thibault 2017-01-18 10:52:14 -08:00
parent aeb02001ed
commit 28dac9d802

View file

@ -1910,7 +1910,7 @@ function MyController(hand) {
Overlays.sendHoverOverOverlay(overlay, pointerEvent); Overlays.sendHoverOverOverlay(overlay, pointerEvent);
} }
if (this.triggerSmoothedGrab() && !isEditing()) { if (this.triggerSmoothedGrab()) {
this.grabbedOverlay = overlay; this.grabbedOverlay = overlay;
this.setState(STATE_OVERLAY_LASER_TOUCHING, "begin touching overlay '" + overlay + "'"); this.setState(STATE_OVERLAY_LASER_TOUCHING, "begin touching overlay '" + overlay + "'");
return true; return true;