mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-27 15:11:36 -04:00
Fix orbit camera jumping back to old position
This commit is contained in:
parent
1bdcecc32e
commit
249c1ae95a
@ -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…
x
Reference in New Issue
Block a user