* 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

* update version string, prevent us from exiting when interface reported bad

---------

Co-authored-by: Chelsea Jaggi <feilen1000@gmail.com>
This commit is contained in:
ykeara
2023-05-18 14:50:29 -05:00
committed by GitHub
co-authored by Chelsea Jaggi
parent 1cfd9ff104
commit b3c36596f6
2 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -1 +1 @@
5.7.0-release
5.7.1-release
+16 -8
View File
@@ -60,14 +60,22 @@ void initializeOpenVR( const OpenVrInitializationType initType )
// Specific error messages are unlikely to be necessary since both the type
// and version are in the string and will be output.
auto reportVersionError = []( const char* const interfaceAndVersion ) {
QMessageBox::critical(
nullptr,
"OpenVR Advanced Settings Overlay",
"OpenVR version is too outdated. Please update OpenVR." );
throw std::runtime_error(
std::string( "OpenVR version is too outdated: Interface version " )
+ std::string( interfaceAndVersion )
+ std::string( " not found." ) );
// 5.7.1
// Stop behavior from exiting out, again seems to be related to some
// sort of race condition in non-native Headsets (i.e. not lighthouse)
// QMessageBox::critical(
// nullptr,
// "OpenVR Advanced Settings Overlay",
// "OpenVR version is too outdated. Please update OpenVR." );
LOG( WARNING ) << "OpenVR version is invalid: Interface version "
<< interfaceAndVersion << " not found.";
// throw std::runtime_error(
// std::string( "OpenVR version is too outdated: Interface
// version " )
// + std::string( interfaceAndVersion )
// + std::string( " not found." ) );
};
// Check whether OpenVR is too outdated