From 7ccbc9e6eb6c3ea8efee260e4bd4d7dd56afa038 Mon Sep 17 00:00:00 2001 From: "Anthony J. Thibault" Date: Mon, 20 Jun 2016 11:22:56 -0700 Subject: [PATCH] Primary thumb press can be used to drop an equipped object --- scripts/system/controllers/handControllerGrab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system/controllers/handControllerGrab.js b/scripts/system/controllers/handControllerGrab.js index 8727bbdd2d..1471decbfa 100644 --- a/scripts/system/controllers/handControllerGrab.js +++ b/scripts/system/controllers/handControllerGrab.js @@ -1711,7 +1711,7 @@ function MyController(hand) { return; } - if (this.state == STATE_HOLD && dropDetected && this.triggerSmoothedGrab()) { + if ((this.state == STATE_HOLD && dropDetected && this.triggerSmoothedGrab()) || this.thumbPressed()) { this.setState(STATE_OFF, "drop detected"); this.callEntityMethodOnGrabbed("releaseEquip"); return;