Commit 205111a6 by Alexander Wiebel

[FIX #413] fixed fall through statements

parent 8caa9740
......@@ -93,6 +93,7 @@ WGEViewer::WGEViewer( std::string name, osg::ref_ptr<osg::Referenced> wdata, int
m_View->addEventHandler( m_pickHandler );
if( name != std::string( "Main View" ) )
break;
/* FALLTHRU */
case( WGECamera::PERSPECTIVE ):
// camera manipulator
m_View->setCameraManipulator( new WGEZoomTrackballManipulator() );
......
......@@ -118,6 +118,7 @@ bool WPickHandler::handle( const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAda
break;
case osgGA::GUIEventAdapter::SCROLL_DOWN:
m_scrollWheel--;
break;
case osgGA::GUIEventAdapter::SCROLL_2D:
// FIXME: the osg doc tells us nothing about this value, but is seems to be always 120 or -120
if( ea.getScrollingDeltaY() > 0 )
......
......@@ -112,6 +112,7 @@ boost::shared_ptr< WDataSet > WReaderVTK::read()
break;
case TENSORS:
ds = boost::shared_ptr< WDataSet >( new WDataSetDTI( values, grid ) );
break;
case ARRAYS:
if( values->dimension() > 6 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment