Disable WANT_DEBUG_STATE

This commit is contained in:
Anthony J. Thibault 2016-06-20 10:44:09 -07:00
parent 1759132377
commit 14efd5dc12

View file

@ -18,7 +18,7 @@ Script.include("/~/system/libraries/utils.js");
// add lines where the hand ray picking is happening
//
var WANT_DEBUG = false;
var WANT_DEBUG_STATE = true;
var WANT_DEBUG_STATE = false;
var WANT_DEBUG_SEARCH_NAME = null;
//
@ -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.setState(STATE_OFF, "drop detected");
this.callEntityMethodOnGrabbed("releaseEquip");
return;