1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 13:20:35 +00:00

Fix orbit camera jumping back to old position

This commit is contained in:
Kyle Cooley 2017-08-13 19:26:32 -04:00
parent 1bdcecc32e
commit 249c1ae95a

View File

@ -393,6 +393,7 @@ void SceneWidget::selectNavigationMode (const std::string& mode)
mCurrentCamControl->setCamera(NULL);
mCurrentCamControl = mOrbitCamControl;
mOrbitCamControl->setCamera(getCamera());
mOrbitCamControl->reset();
}
}