mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
updated camera modes
This commit is contained in:
parent
39d96b76a6
commit
aba6a28d54
1 changed files with 6 additions and 6 deletions
|
@ -234,19 +234,19 @@ Flickable {
|
|||
SimplifiedControls.RadioButton {
|
||||
id: thirdPerson
|
||||
text: "Third Person View"
|
||||
checked: Camera.mode === "third person"
|
||||
checked: Camera.mode === "look at"
|
||||
onClicked: {
|
||||
Camera.mode = "third person"
|
||||
Camera.mode = "look at"
|
||||
}
|
||||
}
|
||||
|
||||
SimplifiedControls.RadioButton {
|
||||
id: selfie
|
||||
text: "Selfie"
|
||||
checked: Camera.mode === "mirror"
|
||||
checked: Camera.mode === "selfie"
|
||||
visible: true
|
||||
onClicked: {
|
||||
Camera.mode = "mirror"
|
||||
Camera.mode = "selfie"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -256,9 +256,9 @@ Flickable {
|
|||
onModeUpdated: {
|
||||
if (Camera.mode === "first person") {
|
||||
firstPerson.checked = true
|
||||
} else if (Camera.mode === "third person") {
|
||||
} else if (Camera.mode === "look at") {
|
||||
thirdPerson.checked = true
|
||||
} else if (Camera.mode === "mirror" && HMD.active) {
|
||||
} else if (Camera.mode === "selfie" && HMD.active) {
|
||||
selfie.checked = true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue