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();
}
}