Commit: c641a5563fa034b8faa4d1aaeba1258f9df2e19b
Author: Brecht Van Lommel
Date:   Tue May 5 21:52:09 2015 +0200
Branches: master
https://developer.blender.org/rBc641a5563fa034b8faa4d1aaeba1258f9df2e19b

Fix T44612: add support for mouse button 6 and 7 on OS X.

===================================================================

M       intern/ghost/intern/GHOST_SystemCocoa.mm

===================================================================

diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm 
b/intern/ghost/intern/GHOST_SystemCocoa.mm
index ed1200b..bdcaadb 100644
--- a/intern/ghost/intern/GHOST_SystemCocoa.mm
+++ b/intern/ghost/intern/GHOST_SystemCocoa.mm
@@ -73,6 +73,10 @@ static GHOST_TButtonMask convertButton(int button)
                        return GHOST_kButtonMaskButton4;
                case 4:
                        return GHOST_kButtonMaskButton5;
+               case 5:
+                       return GHOST_kButtonMaskButton6;
+               case 6:
+                       return GHOST_kButtonMaskButton7;
                default:
                        return GHOST_kButtonMaskLeft;
        }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to