mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +02:00
don't mess with TranslateZ unless module is active
This commit is contained in:
parent
600c2c3947
commit
a799d305ee
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ Script.include("/~/system/libraries/controllers.js");
|
||||||
// return currentPoint.z - _this.controlPoint.z;
|
// return currentPoint.z - _this.controlPoint.z;
|
||||||
return 0.5;
|
return 0.5;
|
||||||
} else {
|
} else {
|
||||||
return Controller.getActionValue(Controller.Standard.TranslateZ);
|
// return Controller.getActionValue(Controller.Standard.TranslateZ);
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}).to(Controller.Actions.TranslateZ);
|
}).to(Controller.Actions.TranslateZ);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue