mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-03 17:19:39 +00:00
Fix orbit camera jumping back to old position
This commit is contained in:
parent
1bdcecc32e
commit
249c1ae95a
1 changed files with 1 additions and 0 deletions
|
@ -393,6 +393,7 @@ void SceneWidget::selectNavigationMode (const std::string& mode)
|
||||||
mCurrentCamControl->setCamera(NULL);
|
mCurrentCamControl->setCamera(NULL);
|
||||||
mCurrentCamControl = mOrbitCamControl;
|
mCurrentCamControl = mOrbitCamControl;
|
||||||
mOrbitCamControl->setCamera(getCamera());
|
mOrbitCamControl->setCamera(getCamera());
|
||||||
|
mOrbitCamControl->reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue