Bugfixes.

This commit is contained in:
2016-12-29 16:03:47 +01:00
parent 93484d2bdc
commit 4667165463
3 changed files with 2 additions and 3 deletions
-2
View File
@@ -327,14 +327,12 @@ MyStackViewPage {
onTrackingUniverseChanged: { onTrackingUniverseChanged: {
if (MoveCenterTabController.trackingUniverse === 0) { if (MoveCenterTabController.trackingUniverse === 0) {
playspaceModeText.text = "Sitting" playspaceModeText.text = "Sitting"
playspaceApplyButton.enabled = false
playSpaceRotationPlusButton.enabled = false playSpaceRotationPlusButton.enabled = false
playSpaceRotationMinusButton.enabled = false playSpaceRotationMinusButton.enabled = false
playspaceRotationSlider.enabled = false playspaceRotationSlider.enabled = false
playspaceRotationText.text = "-" playspaceRotationText.text = "-"
} else if (MoveCenterTabController.trackingUniverse === 1) { } else if (MoveCenterTabController.trackingUniverse === 1) {
playspaceModeText.text = "Standing" playspaceModeText.text = "Standing"
playspaceApplyButton.enabled = true
playSpaceRotationPlusButton.enabled = true playSpaceRotationPlusButton.enabled = true
playSpaceRotationMinusButton.enabled = true playSpaceRotationMinusButton.enabled = true
playspaceRotationSlider.enabled = true playspaceRotationSlider.enabled = true
@@ -202,6 +202,7 @@ void ChaperoneTabController::eventLoopTick() {
LOG(WARNING) << "Could not read \"" << vr::k_pch_CollisionBounds_PlaySpaceOn_Bool << "\" setting: " << vr::VRSettings()->GetSettingsErrorNameFromEnum(vrSettingsError); LOG(WARNING) << "Could not read \"" << vr::k_pch_CollisionBounds_PlaySpaceOn_Bool << "\" setting: " << vr::VRSettings()->GetSettingsErrorNameFromEnum(vrSettingsError);
} }
setPlaySpaceMarker(ps); setPlaySpaceMarker(ps);
updateHeight(getBoundsMaxY());
settingsUpdateCounter = 0; settingsUpdateCounter = 0;
} else { } else {
settingsUpdateCounter++; settingsUpdateCounter++;
+1 -1
View File
@@ -107,7 +107,7 @@ public slots:
void reloadFromDisk(); void reloadFromDisk();
void addChaperoneProfile(QString name, bool includeGeometry, bool includeVisbility, bool includeFadeDistance, bool includeCenterMarker, void addChaperoneProfile(QString name, bool includeGeometry, bool includeVisbility, bool includeFadeDistance, bool includeCenterMarker,
bool includePlaySpaceMarker, bool includeFloorBounds, bool includeBoundsColor, bool includeChaperoneStyle, bool includeForceBounds); bool includePlaySpaceMarker, bool includeFloorBounds, bool includeBoundsColor, bool includeChaperoneStyle, bool includeForceBounds);
void applyChaperoneProfile(unsigned index); void applyChaperoneProfile(unsigned index);
void deleteChaperoneProfile(unsigned index); void deleteChaperoneProfile(unsigned index);