From 7767dfb2138f99ba30e5ae36e47542dcf4e048ec Mon Sep 17 00:00:00 2001 From: "James B. Pollack" Date: Sat, 30 Jan 2016 19:59:56 -0800 Subject: [PATCH] remove high freq messages --- examples/controllers/handControllerGrab.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/examples/controllers/handControllerGrab.js b/examples/controllers/handControllerGrab.js index d6fd4bce27..33c67d40e4 100644 --- a/examples/controllers/handControllerGrab.js +++ b/examples/controllers/handControllerGrab.js @@ -817,8 +817,6 @@ function MyController(hand) { direction: pickRay.direction }; - Messages.sendMessage('Hifi-Light-Overlay-Ray-Check', JSON.stringify(pickRayBacked)); - var intersection; if (USE_BLACKLIST === true && blacklist.length !== 0) { @@ -1341,12 +1339,6 @@ function MyController(hand) { Entities.callEntityMethod(this.grabbedEntity, "continueEquip"); } - //// jbp::: SEND UPDATE MESSAGE TO WEARABLES MANAGER - Messages.sendMessage('Hifi-Wearables-Manager', JSON.stringify({ - action: 'update', - grabbedEntity: this.grabbedEntity - })) - if (this.actionID && this.actionTimeout - now < ACTION_TTL_REFRESH * MSEC_PER_SEC) { // if less than a 5 seconds left, refresh the actions ttl var success = Entities.updateAction(this.grabbedEntity, this.actionID, { @@ -1615,8 +1607,6 @@ function MyController(hand) { this.actionID = null; this.setState(STATE_OFF); - //// jbp::: SEND RELEASE MESSAGE TO WEARABLES MANAGER - Messages.sendMessage('Hifi-Wearables-Manager', JSON.stringify({ action: 'checkIfWearable', grabbedEntity: this.grabbedEntity