Skip to content

Commit

Permalink
+ improved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pgilfernandez committed Jul 19, 2015
1 parent 9e9cbfb commit 18c63c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Gui/MayaGestureNavigationStyle.cpp
Expand Up @@ -440,6 +440,8 @@ SbBool MayaGestureNavigationStyle::processSoEvent(const SoEvent * const ev)
//throw away consumed mousedowns.
this->mousedownConsumedCount = 0;

// start DRAGGING mode (orbit)
// if not pressing left mouse button then it asumes is right mouse button and starts ZOOMING mode
setViewingMode(this->button1down ? NavigationStyle::DRAGGING : NavigationStyle::ZOOMING);
processed = true;
} else {
Expand Down

0 comments on commit 18c63c1

Please sign in to comment.