From 055ed335a111bebed7193acd083f54d5c82929ff Mon Sep 17 00:00:00 2001 From: Yevgeny Makarov Date: Mon, 9 Nov 2020 12:26:53 +0100 Subject: macOS: follow system preference for natural trackpad scroll direction And remove Blender preference, which was expected to be set to match the system preference for correct behavior. Instead just handle this automatically. Differential Revision: https://developer.blender.org/D9402 --- release/scripts/startup/bl_ui/space_userpref.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index 91871acfbc5..ce9543d7dc4 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -1489,7 +1489,6 @@ class USERPREF_PT_navigation_orbit(NavigationPanel, CenterAlignMixIn, Panel): bl_label = "Orbit & Pan" def draw_centered(self, context, layout): - import sys prefs = context.preferences inputs = prefs.inputs view = prefs.view @@ -1505,9 +1504,6 @@ class USERPREF_PT_navigation_orbit(NavigationPanel, CenterAlignMixIn, Panel): col.separator() - if sys.platform == "darwin": - col.prop(inputs, "use_trackpad_natural", text="Natural Trackpad Direction") - col = layout.column(heading="Auto") col.prop(inputs, "use_auto_perspective", text="Perspective") col.prop(inputs, "use_mouse_depth_navigate", text="Depth") -- cgit v1.2.3