mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 17:00:13 +02:00
Merge pull request #10930 from zfox23/spectatorCamera_noDesktopApp
Don't show SPECTATOR app in Desktop mode
This commit is contained in:
commit
fcf11915c5
1 changed files with 2 additions and 2 deletions
|
@ -131,10 +131,10 @@
|
||||||
// Relevant Variables:
|
// Relevant Variables:
|
||||||
// -button: The tablet button.
|
// -button: The tablet button.
|
||||||
// -buttonName: The name of the button.
|
// -buttonName: The name of the button.
|
||||||
// -showInDesktop: Set to "true" to show the "SPECTATOR" app in desktop mode.
|
// -showSpectatorInDesktop: Set to "true" to show the "SPECTATOR" app in desktop mode.
|
||||||
var button = false;
|
var button = false;
|
||||||
var buttonName = "SPECTATOR";
|
var buttonName = "SPECTATOR";
|
||||||
var showSpectatorInDesktop = true;
|
var showSpectatorInDesktop = false;
|
||||||
function addOrRemoveButton(isShuttingDown, isHMDMode) {
|
function addOrRemoveButton(isShuttingDown, isHMDMode) {
|
||||||
if (!tablet) {
|
if (!tablet) {
|
||||||
print("Warning in addOrRemoveButton(): 'tablet' undefined!");
|
print("Warning in addOrRemoveButton(): 'tablet' undefined!");
|
||||||
|
|
Loading…
Reference in a new issue