Slight tweak: we need to call trigger in order to get the full toggle

behavior.
This commit is contained in:
Andrzej Kapolka 2013-06-12 13:51:16 -07:00
parent 0463e66972
commit b28df17207

View file

@ -926,8 +926,8 @@ void Application::setFullscreen(bool fullscreen) {
}
void Application::setRenderFirstPerson(bool firstPerson) {
if (firstPerson) {
_lookingInMirror->setChecked(false);
if (firstPerson && _lookingInMirror->isChecked()) {
_lookingInMirror->trigger();
}
}