0001236: Touchpad navigation issue

This commit is contained in:
wmayer 2013-09-21 15:30:29 +02:00
parent 24a3c2cdd9
commit 84102095bb

View File

@ -243,6 +243,14 @@ SbBool TouchpadNavigationStyle::processSoEvent(const SoEvent * const ev)
}
this->button2down = press;
break;
case SoMouseButtonEvent::BUTTON4:
doZoom(viewer->getCamera(), TRUE, posn);
processed = TRUE;
break;
case SoMouseButtonEvent::BUTTON5:
doZoom(viewer->getCamera(), FALSE, posn);
processed = TRUE;
break;
default:
break;
}