Commit 04a18ff5 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[MERGE]

parents d5f5fb8b 0ad70a5d
......@@ -91,13 +91,13 @@ bool WGEZoomTrackballManipulator::zoom( const osgGA::GUIEventAdapter& ea, osgGA:
switch( ea.getScrollingMotion() )
{
case osgGA::GUIEventAdapter::SCROLL_UP:
zoomDelta = -0.05;
zoomDelta = 0.05;
break;
case osgGA::GUIEventAdapter::SCROLL_DOWN:
zoomDelta = 0.05;
zoomDelta = -0.05;
break;
case osgGA::GUIEventAdapter::SCROLL_2D:
zoomDelta = -0.05 / 120.0 * ea.getScrollingDeltaY();
zoomDelta = 0.05 / 120.0 * ea.getScrollingDeltaY();
break;
// case osgGA::GUIEventAdapter::SCROLL_LEFT:
// case osgGA::GUIEventAdapter::SCROLL_RIGHT:
......
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