diff --git a/OSGWidget.cpp b/OSGWidget.cpp index 131f7a4..7607b40 100644 --- a/OSGWidget.cpp +++ b/OSGWidget.cpp @@ -113,7 +113,11 @@ OSGWidget::OSGWidget( QWidget* parent, #ifdef WITH_PICK_HANDLER view->addEventHandler( new PickHandler ); #endif - view->setCameraManipulator( new osgGA::TrackballManipulator ); + + osgGA::TrackballManipulator* manipulator = new osgGA::TrackballManipulator; + manipulator->setAllowThrow( false ); + + view->setCameraManipulator( manipulator ); osg::Camera* sideCamera = new osg::Camera; sideCamera->setViewport( this->width() /2, 0,