Merge pull request #125 from triplus/patch-1

Pan support (LMB + RMB) Blender navigation
This commit is contained in:
wwmayer 2016-03-24 09:46:16 +01:00
commit 368cd7b731

View File

@ -345,9 +345,9 @@ SbBool BlenderNavigationStyle::processSoEvent(const SoEvent * const ev)
else
newmode = NavigationStyle::SELECTION;
break;
//case BUTTON1DOWN|BUTTON3DOWN:
// newmode = NavigationStyle::PANNING;
// break;
case BUTTON1DOWN|BUTTON2DOWN:
newmode = NavigationStyle::PANNING;
break;
case SHIFTDOWN|BUTTON3DOWN:
newmode = NavigationStyle::PANNING;
break;