mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 00:52:27 +02:00
can't enter independent mode through edit.js in HMD mode
This commit is contained in:
parent
3c809ef40c
commit
5e69af83c6
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ CameraManager = function() {
|
|||
};
|
||||
|
||||
that.enable = function() {
|
||||
if (Camera.mode == "independent" || that.enabled) return;
|
||||
if (Camera.mode == "independent" || that.enabled || HMD.active) return;
|
||||
|
||||
for (var i = 0; i < CAPTURED_KEYS.length; i++) {
|
||||
Controller.captureKeyEvents({
|
||||
|
|
Loading…
Reference in a new issue