From c8bae38a8e42bff2bfc522205ed1ba9bea6dc4ba Mon Sep 17 00:00:00 2001 From: Aesylwinn Date: Fri, 18 Mar 2016 14:53:10 -0400 Subject: [PATCH] Remove trackball mode --- apps/opencs/view/render/previewwidget.cpp | 2 +- apps/opencs/view/render/scenewidget.cpp | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/opencs/view/render/previewwidget.cpp b/apps/opencs/view/render/previewwidget.cpp index 7b3645135..2f3510317 100644 --- a/apps/opencs/view/render/previewwidget.cpp +++ b/apps/opencs/view/render/previewwidget.cpp @@ -7,7 +7,7 @@ CSVRender::PreviewWidget::PreviewWidget (CSMWorld::Data& data, const std::string& id, bool referenceable, QWidget *parent) : SceneWidget (data.getResourceSystem(), parent), mData (data), mObject(data, mRootNode, id, referenceable) { - selectNavigationMode("trackball"); + selectNavigationMode("orbit"); QAbstractItemModel *referenceables = mData.getTableModel (CSMWorld::UniversalId::Type_Referenceables); diff --git a/apps/opencs/view/render/scenewidget.cpp b/apps/opencs/view/render/scenewidget.cpp index ea282ffcd..27c828ec4 100644 --- a/apps/opencs/view/render/scenewidget.cpp +++ b/apps/opencs/view/render/scenewidget.cpp @@ -353,12 +353,6 @@ void SceneWidget::selectNavigationMode (const std::string& mode) mCurrentCamControl = mOrbitCamControl.get(); mCurrentCamControl->setCamera(getCamera()); } - else if (mode=="trackball") - { - mCurrentCamControl->setCamera(NULL); - mCurrentCamControl = mOrbitCamControl.get(); - mCurrentCamControl->setCamera(getCamera()); - } } bool SceneWidget::storeMappingSetting (const CSMPrefs::Setting *setting)