+ improved comments

This commit is contained in:
Pablo Gil 2015-07-19 11:27:20 +02:00
parent 9e9cbfb1a7
commit 18c63c1ee4

View File

@ -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 {