forked from teamnwah/openmw-tes3coop
Remove trackball mode
This commit is contained in:
parent
0e75b4a234
commit
c8bae38a8e
2 changed files with 1 additions and 7 deletions
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue