mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 07:27:17 +02:00
fix mod.js
This commit is contained in:
parent
9c96ffc9cb
commit
9e99cc1f78
2 changed files with 3 additions and 1 deletions
|
@ -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) {
|
getControllerWorldLocation = function (handController, doOffset) {
|
||||||
var orientation;
|
var orientation;
|
||||||
var position;
|
var position;
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
|
|
||||||
(function() { // BEGIN LOCAL_SCOPE
|
(function() { // BEGIN LOCAL_SCOPE
|
||||||
|
|
||||||
|
Script.include("/~/system/libraries/controllers.js");
|
||||||
|
|
||||||
// grab the toolbar
|
// grab the toolbar
|
||||||
var toolbar = Toolbars.getToolbar("com.highfidelity.interface.toolbar.system");
|
var toolbar = Toolbars.getToolbar("com.highfidelity.interface.toolbar.system");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue