mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 20:44:14 +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),
|
||||
_audioScope(256, 200, true),
|
||||
_manualFirstPerson(false),
|
||||
_headCameraPitchYawScale(0.0f),
|
||||
_mouseX(0),
|
||||
_mouseY(0),
|
||||
_mousePressed(false),
|
||||
|
@ -2544,7 +2543,7 @@ void Application::setAutosave(bool wantsAutosave) {
|
|||
void Application::loadSettings(QSettings* set) {
|
||||
if (!set) set = getSettings();
|
||||
|
||||
_headCameraPitchYawScale = set->value("headCameraPitchYawScale").toDouble();
|
||||
_headCameraPitchYawScale = set->value("headCameraPitchYawScale", 0.0f).toFloat();
|
||||
scanMenuBar(&Application::loadAction, set);
|
||||
getAvatar()->loadData(set);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue