From 37ecd180545dcec7b6812af728c270518eceaaf7 Mon Sep 17 00:00:00 2001 From: James Pollack Date: Wed, 23 Sep 2015 17:44:28 -0700 Subject: [PATCH] put distant grab inside of conditional --- examples/controllers/handControllerGrab.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/controllers/handControllerGrab.js b/examples/controllers/handControllerGrab.js index 5818815bb2..c6c1befda7 100644 --- a/examples/controllers/handControllerGrab.js +++ b/examples/controllers/handControllerGrab.js @@ -279,8 +279,9 @@ function controller(hand, triggerAction) { } else { Entities.callEntityMethod(this.grabbedEntity, "setLeftHand"); } + Entities.callEntityMethod(this.grabbedEntity, "startDistantGrab"); } - Entities.callEntityMethod(this.grabbedEntity, "startDistantGrab"); + };