Skip to content

Commit b3c3659

Browse files
ykearafeilen
andauthored
571 (#628)
* 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>
1 parent 1cfd9ff commit b3c3659

2 files changed

Lines changed: 17 additions & 9 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.7.0-release
1+
5.7.1-release

src/openvr/openvr_init.cpp

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,22 @@ void initializeOpenVR( const OpenVrInitializationType initType )
6060
// Specific error messages are unlikely to be necessary since both the type
6161
// and version are in the string and will be output.
6262
auto reportVersionError = []( const char* const interfaceAndVersion ) {
63-
QMessageBox::critical(
64-
nullptr,
65-
"OpenVR Advanced Settings Overlay",
66-
"OpenVR version is too outdated. Please update OpenVR." );
67-
throw std::runtime_error(
68-
std::string( "OpenVR version is too outdated: Interface version " )
69-
+ std::string( interfaceAndVersion )
70-
+ std::string( " not found." ) );
63+
// 5.7.1
64+
// Stop behavior from exiting out, again seems to be related to some
65+
// sort of race condition in non-native Headsets (i.e. not lighthouse)
66+
67+
// QMessageBox::critical(
68+
// nullptr,
69+
// "OpenVR Advanced Settings Overlay",
70+
// "OpenVR version is too outdated. Please update OpenVR." );
71+
72+
LOG( WARNING ) << "OpenVR version is invalid: Interface version "
73+
<< interfaceAndVersion << " not found.";
74+
// throw std::runtime_error(
75+
// std::string( "OpenVR version is too outdated: Interface
76+
// version " )
77+
// + std::string( interfaceAndVersion )
78+
// + std::string( " not found." ) );
7179
};
7280

7381
// Check whether OpenVR is too outdated

0 commit comments

Comments
 (0)