From 2098cd5b5e8266d1f539a4135e3af7845bd33156 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Fri, 10 Mar 2017 13:02:16 -0800 Subject: [PATCH] remove stylus and search-beams when grab script is shut down --- scripts/system/controllers/handControllerGrab.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/system/controllers/handControllerGrab.js b/scripts/system/controllers/handControllerGrab.js index 6f60f36556..ba3f06de23 100644 --- a/scripts/system/controllers/handControllerGrab.js +++ b/scripts/system/controllers/handControllerGrab.js @@ -3516,6 +3516,8 @@ function MyController(hand) { this.cleanup = function() { this.release(); this.grabPointSphereOff(); + this.hideStylus(); + this.overlayLineOff(); }; this.thisHandIsParent = function(props) {