mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 20:22:27 +02:00
Update inspect.js to not activate if camera is in independent mode
This commit is contained in:
parent
a012562323
commit
2556b4790b
1 changed files with 5 additions and 0 deletions
|
@ -158,6 +158,11 @@ function handleModes() {
|
|||
avatarOrientation.w != MyAvatar.orientation.w)) {
|
||||
newMode = noMode;
|
||||
}
|
||||
|
||||
if (mode == noMode && newMode != noMode && Camera.mode == "independent") {
|
||||
newMode = noMode;
|
||||
}
|
||||
|
||||
// if leaving noMode
|
||||
if (mode == noMode && newMode != noMode) {
|
||||
saveCameraState();
|
||||
|
|
Loading…
Reference in a new issue