From 9e99cc1f7879156d51af33f759be3170c1303499 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Thu, 8 Sep 2016 07:35:52 -0700 Subject: [PATCH] fix mod.js --- scripts/system/libraries/controllers.js | 2 +- scripts/system/mod.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/system/libraries/controllers.js b/scripts/system/libraries/controllers.js index a1318ca47c..9bae46380e 100644 --- a/scripts/system/libraries/controllers.js +++ b/scripts/system/libraries/controllers.js @@ -25,7 +25,7 @@ getGrabPointSphereOffset = function(handController) { }; }; -// controllerLocation is where the controller would be, in-world. +// controllerWorldLocation is where the controller would be, in-world, with an added offset getControllerWorldLocation = function (handController, doOffset) { var orientation; var position; diff --git a/scripts/system/mod.js b/scripts/system/mod.js index 4db1576168..1a7b3b401e 100644 --- a/scripts/system/mod.js +++ b/scripts/system/mod.js @@ -15,6 +15,8 @@ (function() { // BEGIN LOCAL_SCOPE +Script.include("/~/system/libraries/controllers.js"); + // grab the toolbar var toolbar = Toolbars.getToolbar("com.highfidelity.interface.toolbar.system");