|
|
@ -1,7 +1,5 @@
|
|
|
|
#include "previewwidget.hpp"
|
|
|
|
#include "previewwidget.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
#include <osgGA/TrackballManipulator>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "../../model/world/data.hpp"
|
|
|
|
#include "../../model/world/data.hpp"
|
|
|
|
#include "../../model/world/idtable.hpp"
|
|
|
|
#include "../../model/world/idtable.hpp"
|
|
|
|
|
|
|
|
|
|
|
@ -9,7 +7,7 @@ CSVRender::PreviewWidget::PreviewWidget (CSMWorld::Data& data,
|
|
|
|
const std::string& id, bool referenceable, QWidget *parent)
|
|
|
|
const std::string& id, bool referenceable, QWidget *parent)
|
|
|
|
: SceneWidget (data.getResourceSystem(), parent), mData (data), mObject(data, mRootNode, id, referenceable)
|
|
|
|
: SceneWidget (data.getResourceSystem(), parent), mData (data), mObject(data, mRootNode, id, referenceable)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
mView->setCameraManipulator(new osgGA::TrackballManipulator);
|
|
|
|
selectNavigationMode("trackball");
|
|
|
|
|
|
|
|
|
|
|
|
QAbstractItemModel *referenceables =
|
|
|
|
QAbstractItemModel *referenceables =
|
|
|
|
mData.getTableModel (CSMWorld::UniversalId::Type_Referenceables);
|
|
|
|
mData.getTableModel (CSMWorld::UniversalId::Type_Referenceables);
|
|
|
|