mirror of
https://github.com/lubosz/overte.git
synced 2025-04-13 06:42:10 +02:00
disable entity scaling
This commit is contained in:
parent
94cc5b83ac
commit
272ca5dc1c
2 changed files with 1 additions and 2 deletions
|
@ -134,7 +134,7 @@ Script.include("/~/system/libraries/controllers.js");
|
|||
|
||||
var scaleModuleName = this.hand === RIGHT_HAND ? "RightScaleEntity" : "LeftScaleEntity";
|
||||
var scaleModule = getEnabledModuleByName(scaleModuleName);
|
||||
if (scaleModule.grabbedThingID || scaleModule.isReady(controllerData).active) {
|
||||
if (scaleModule && (scaleModule.grabbedThingID || scaleModule.isReady(controllerData).active)) {
|
||||
// we're rescaling -- don't start a grab.
|
||||
return makeRunningValues(false, [], []);
|
||||
}
|
||||
|
|
|
@ -30,7 +30,6 @@ var CONTOLLER_SCRIPTS = [
|
|||
"controllerModules/teleport.js",
|
||||
"controllerModules/hudOverlayPointer.js",
|
||||
"controllerModules/mouseHMD.js",
|
||||
"controllerModules/scaleEntity.js",
|
||||
"controllerModules/nearGrabHyperLinkEntity.js",
|
||||
"controllerModules/nearTabletHighlight.js",
|
||||
"controllerModules/nearGrabEntity.js",
|
||||
|
|
Loading…
Reference in a new issue