mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:48:44 +02:00
One more "one more try."
This commit is contained in:
parent
1b698b24e2
commit
acc8efa026
1 changed files with 1 additions and 2 deletions
|
@ -145,7 +145,6 @@ Application::Application(int& argc, char** argv, timeval &startup_time) :
|
||||||
_viewFrustumOffsetUp(0.0),
|
_viewFrustumOffsetUp(0.0),
|
||||||
_audioScope(256, 200, true),
|
_audioScope(256, 200, true),
|
||||||
_manualFirstPerson(false),
|
_manualFirstPerson(false),
|
||||||
_headCameraPitchYawScale(0.0f),
|
|
||||||
_mouseX(0),
|
_mouseX(0),
|
||||||
_mouseY(0),
|
_mouseY(0),
|
||||||
_mousePressed(false),
|
_mousePressed(false),
|
||||||
|
@ -2544,7 +2543,7 @@ void Application::setAutosave(bool wantsAutosave) {
|
||||||
void Application::loadSettings(QSettings* set) {
|
void Application::loadSettings(QSettings* set) {
|
||||||
if (!set) set = getSettings();
|
if (!set) set = getSettings();
|
||||||
|
|
||||||
_headCameraPitchYawScale = set->value("headCameraPitchYawScale").toDouble();
|
_headCameraPitchYawScale = set->value("headCameraPitchYawScale", 0.0f).toFloat();
|
||||||
scanMenuBar(&Application::loadAction, set);
|
scanMenuBar(&Application::loadAction, set);
|
||||||
getAvatar()->loadData(set);
|
getAvatar()->loadData(set);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue