updated camera modes

This commit is contained in:
milad 2019-09-25 11:05:32 -07:00
parent 39d96b76a6
commit aba6a28d54

View file

@ -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
}
}