Commit: 1effab780951ead28c94f4a12ee6ddd04efdcfc1 Author: Arto Kitula Date: Thu Oct 26 23:11:25 2017 +0300 Branches: master https://developer.blender.org/rB1effab780951ead28c94f4a12ee6ddd04efdcfc1
Fix T52984. Trackpad rotation to natural direction =================================================================== M intern/ghost/intern/GHOST_SystemCocoa.mm =================================================================== diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 42ccfb06fd9..b4fb788bca9 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1470,7 +1470,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleMouseEvent(void *eventPtr) GHOST_TInt32 x, y; window->clientToScreenIntern(mousePos.x, mousePos.y, x, y); pushEvent(new GHOST_EventTrackpad([event timestamp] * 1000, window, GHOST_kTrackpadEventRotate, x, y, - [event rotation] * 5.0, 0)); + [event rotation] * -5.0, 0)); } default: return GHOST_kFailure; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs