Merge pull request #10930 from zfox23/spectatorCamera_noDesktopApp

Don't show SPECTATOR app in Desktop mode
This commit is contained in:
Zach Fox 2017-07-10 11:14:16 -07:00 committed by GitHub
commit fcf11915c5

View file

@ -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!");