2.79 macOS Gesture Inversion
Closed, ResolvedPublic


System Information
macOS 10.12.6

Blender Version
Broken: 2.79 5bd8ac9
Working: 2.78c (all)

Short description of error
When using two fingers to orbit the camera, using this gesture: https://i.imgur.com/Fq6lpuT.gif , the direction is inverted in 2.79.
This is NOT a natural scroll issue; modifying either blender or the system natural scroll setting does not affect this issue.

Exact steps for others to reproduce the error
Using any file (even startup) will produce the issue. Compare to 2.78c for the correct implementation.

Arto Kitula (akitula) raised the priority of this task from Normal to Confirmed.Oct 5 2017, 1:04 PM

Confirmed inverted action.

@Brecht Van Lommel (brecht) ? Modifying the rotation multiplier to negative in GHOST_SystemCocoa.mm would change the direction (giving [event rotation] * -5.0) to the correct way. Why has it different outcome than before?

I can't immediately spot a related commit, we'll need to run a git bisect to figure out the cause I think.

I did check but nobody has touched the .mm files for a quite a while. Getting back to this later...

I just compiled 2.78c and see the inversion there too, but the official build doesn't have it. Maybe it's related to the minimum or sdk version? Though not sure what the pattern is:

2.78c: ok
  version 10.6
      sdk 10.10

2.79: inverted
  version 10.6
      sdk 10.9

buildbot: inverted
  version 10.9
      sdk 10.12

my 2.78c build: inverted
  version 10.9
      sdk 10.13

I suggest to just flip the sign and not worry about the exact cause.