No Render Fix, Color/Brightness Sort Order, readme adjustment (#550)
* Adjust Brightness/Color Overlay Sort Orders for better app complienc * No Overlay Render Attempt fix * change readme update version string
This commit is contained in:
@@ -66,6 +66,8 @@ void VideoTabController::initBrightnessOverlay()
|
||||
m_brightnessOverlayHandle,
|
||||
vr::k_unTrackedDeviceIndex_Hmd,
|
||||
¬ificationTransform );
|
||||
vr::VROverlay()->SetOverlaySortOrder( m_brightnessOverlayHandle,
|
||||
sortMax );
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -109,6 +111,8 @@ void VideoTabController::initColorOverlay()
|
||||
m_colorOverlayHandle,
|
||||
vr::k_unTrackedDeviceIndex_Hmd,
|
||||
¬ificationTransform );
|
||||
vr::VROverlay()->SetOverlaySortOrder( m_brightnessOverlayHandle,
|
||||
sortMax );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -128,6 +128,7 @@ class VideoTabController : public QObject
|
||||
setColorOverlayOpacity NOTIFY colorOverlayOpacityChanged )
|
||||
|
||||
private:
|
||||
static constexpr uint32_t sortMax = 0xffffffff;
|
||||
unsigned settingsUpdateCounter = 0;
|
||||
|
||||
// how far away the overlay is, any OVERLAY closer will not be dimmed.
|
||||
|
||||
Reference in New Issue
Block a user