[Bf-blender-cvs] [f16f2f87624] blender-v2.81-release: Fix macOS using conflicting key binding Cmd-.
Campbell Barton
noreply at git.blender.org
Thu Nov 14 06:57:00 CET 2019
Commit: f16f2f87624a6d417c1491b0253f1ab1642010e4
Author: Campbell Barton
Date: Thu Nov 14 16:51:16 2019 +1100
Branches: blender-v2.81-release
https://developer.blender.org/rBf16f2f87624a6d417c1491b0253f1ab1642010e4
Fix macOS using conflicting key binding Cmd-.
Used for toggle origins, conflicts on macOS, use Ctrl-. instead.
===================================================================
M release/scripts/modules/bl_keymap_utils/platform_helpers.py
===================================================================
diff --git a/release/scripts/modules/bl_keymap_utils/platform_helpers.py b/release/scripts/modules/bl_keymap_utils/platform_helpers.py
index e6506f11b71..064c8b1d171 100644
--- a/release/scripts/modules/bl_keymap_utils/platform_helpers.py
+++ b/release/scripts/modules/bl_keymap_utils/platform_helpers.py
@@ -45,6 +45,7 @@ def keyconfig_data_oskey_from_ctrl_for_macos(keyconfig_data_src):
'SPACE',
'W',
'ACCENT_GRAVE',
+ 'PERIOD',
}) and (
item_event.get("ctrl") and
(not item_event.get("alt")) and
More information about the Bf-blender-cvs
mailing list