0000607: Holding down middle mouse button (wheel) will zoom out without scrolling

This commit is contained in:
wmayer
2012-02-24 11:07:41 +01:00
parent 739236ca76
commit 463652407a
2 changed files with 9 additions and 2 deletions

View File

@@ -715,8 +715,6 @@ void NavigationStyle::zoomByCursor(const SbVec2f & thispos, const SbVec2f & prev
void NavigationStyle::doZoom(SoCamera* camera, SbBool forward, const SbVec2f& pos)
{
if (this->button3down)
return;
SbBool zoomAtCur = this->zoomAtCursor;
if (zoomAtCur) {
const SbViewportRegion & vp = viewer->getViewportRegion();