* Option to fade out chaperone when HMD goes below a configured height

Useful for setups in which you have a seat just outside your VR space,
or like to sit in the middle of your space for any amount of time. Will
fade out the boundaries to 0% opacity over 5 seconds, 5 seconds after
you sit down. Standing back up to the configured height will make them
pop back in immediately.

Can be found under Chaperone -> Additional Settings.

* Update format.sh to require clang-format v10

* Use fade distance instead of opacity, opacity inconsistently applied

* Bugfixes (#624)

* stop crashing on HMD Init Errors, as well as bypass force quit on all steamvr Init Errors

* add qtc clang to gitignore

* add app volume adjustment

* adjust app volume placement in menu

* fix type error

* Revert 1.26.3 chaperone adjust changes

* fix setting bug increment version

---------

Co-authored-by: Chelsea Jaggi <feilen1000@gmail.com>
This commit is contained in:
ykeara
2023-07-13 12:58:14 -05:00
committed by GitHub
co-authored by Chelsea Jaggi
parent f095d2db7e
commit 30343ce11a
4 changed files with 11 additions and 3 deletions
@@ -289,6 +289,10 @@ private:
SettingCategory::Playspace,
QtInfo{ "adjustChaperone3" },
true },
BoolSettingValue{ BoolSetting::PLAYSPACE_adjustChaperone4,
SettingCategory::Playspace,
QtInfo{ "adjustChaperone4" },
false },
BoolSettingValue{ BoolSetting::APPLICATION_disableVersionCheck,
SettingCategory::Application,
+1
View File
@@ -25,6 +25,7 @@ enum class BoolSetting
PLAYSPACE_adjustChaperone2,
PLAYSPACE_enableUncalMotion,
PLAYSPACE_adjustChaperone3,
PLAYSPACE_adjustChaperone4,
APPLICATION_disableVersionCheck,
APPLICATION_previousShutdownSafe,
@@ -457,12 +457,12 @@ void MoveCenterTabController::setFrictionPercent( int value, bool notify )
bool MoveCenterTabController::adjustChaperone() const
{
return settings::getSetting(
settings::BoolSetting::PLAYSPACE_adjustChaperone3 );
settings::BoolSetting::PLAYSPACE_adjustChaperone4 );
}
void MoveCenterTabController::setAdjustChaperone( bool value, bool notify )
{
settings::setSetting( settings::BoolSetting::PLAYSPACE_adjustChaperone3,
settings::setSetting( settings::BoolSetting::PLAYSPACE_adjustChaperone4,
value );
if ( notify )
@@ -2771,6 +2771,9 @@ void MoveCenterTabController::updateSpace( bool forceUpdate )
// behavior
// as of SVR 1.26.3 instead of 2x offset we have 1x offset and universe
// centerS
// as of SVR 1.26.4 1.26.3 changes are reverted as Such Adjust Chaperone
// Should Not Be Needed We Will leave in Adjust Chaperone at this point but
// make sure it defaults to off
if ( adjustChaperone() )
{