Fixed Profile Viewing
This commit is contained in:
@@ -142,7 +142,7 @@ MyStackViewPage {
|
|||||||
onClicked: {
|
onClicked: {
|
||||||
if (steamvrProfileComboBox.currentIndex > 0) {
|
if (steamvrProfileComboBox.currentIndex > 0) {
|
||||||
SteamVRTabController.applySteamVRProfile(steamvrProfileComboBox.currentIndex - 1)
|
SteamVRTabController.applySteamVRProfile(steamvrProfileComboBox.currentIndex - 1)
|
||||||
steamvrProfileComboBox.currentIndex = 0
|
//steamvrProfileComboBox.currentIndex = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -440,6 +440,9 @@ MyStackViewPage {
|
|||||||
onSteamVRProfilesUpdated: {
|
onSteamVRProfilesUpdated: {
|
||||||
reloadSteamVRProfiles()
|
reloadSteamVRProfiles()
|
||||||
}
|
}
|
||||||
|
onSteamVRProfileAdded:{
|
||||||
|
steamvrProfileComboBox.currentIndex = SteamVRTabController.getSteamVRProfileCount()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -117,6 +117,7 @@ void SteamVRTabController::saveSteamVRProfiles()
|
|||||||
settings->setValue( "supersampleFiltering",
|
settings->setValue( "supersampleFiltering",
|
||||||
p.supersampleFiltering );
|
p.supersampleFiltering );
|
||||||
}
|
}
|
||||||
|
settings->setValue("motionSmooth", p.motionSmooth);
|
||||||
/*
|
/*
|
||||||
settings->setValue( "includesReprojectionSettings",
|
settings->setValue( "includesReprojectionSettings",
|
||||||
p.includesReprojectionSettings );
|
p.includesReprojectionSettings );
|
||||||
@@ -641,6 +642,7 @@ void SteamVRTabController::addSteamVRProfile( QString name,
|
|||||||
saveSteamVRProfiles();
|
saveSteamVRProfiles();
|
||||||
OverlayController::appSettings()->sync();
|
OverlayController::appSettings()->sync();
|
||||||
emit steamVRProfilesUpdated();
|
emit steamVRProfilesUpdated();
|
||||||
|
emit steamVRProfileAdded();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SteamVRTabController::applySteamVRProfile( unsigned index )
|
void SteamVRTabController::applySteamVRProfile( unsigned index )
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ signals:
|
|||||||
void allowSupersampleFilteringChanged( bool value );
|
void allowSupersampleFilteringChanged( bool value );
|
||||||
|
|
||||||
void steamVRProfilesUpdated();
|
void steamVRProfilesUpdated();
|
||||||
|
void steamVRProfileAdded();
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace advsettings
|
} // namespace advsettings
|
||||||
|
|||||||
Reference in New Issue
Block a user