mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:19:05 +02:00
Does not allow mouse capture if disabled.
This commit is contained in:
parent
4ccefd0471
commit
e38d5e6647
1 changed files with 2 additions and 1 deletions
|
@ -160,7 +160,8 @@ by rampa3 (https://github.com/rampa3) and vegaslon (https://github.com/vegaslon)
|
||||||
}
|
}
|
||||||
|
|
||||||
function mouseLookOn() {
|
function mouseLookOn() {
|
||||||
Camera.captureMouse = true;
|
if (mouseLookEnabled)
|
||||||
|
Camera.captureMouse = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function mouseLookOff() {
|
function mouseLookOff() {
|
||||||
|
|
Loading…
Reference in a new issue