From 18c63c1ee4bb866fca89c53290f9d593a6d1ed54 Mon Sep 17 00:00:00 2001 From: Pablo Gil Date: Sun, 19 Jul 2015 11:27:20 +0200 Subject: [PATCH] + improved comments --- src/Gui/MayaGestureNavigationStyle.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/MayaGestureNavigationStyle.cpp b/src/Gui/MayaGestureNavigationStyle.cpp index ed7c7eea34..f2f3110ee3 100644 --- a/src/Gui/MayaGestureNavigationStyle.cpp +++ b/src/Gui/MayaGestureNavigationStyle.cpp @@ -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 {