diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-03 05:43:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-04 01:28:33 +0300 |
commit | 1e5cfebf660cdae0408bf36a895ef62499e4b13e (patch) | |
tree | d71a4318e4cbb58d4852cc6d3295ca332fdcf1ea /release/scripts | |
parent | 57272d598d2c64932b3ae26991063fce9fe52a90 (diff) |
Fix key-map with fall-back tool on RMB select
Regression in bffda4185dc7eee88e49818b72fa8c34dc2778e6.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index 35eb6490265..8bf5ac500b0 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -71,7 +71,7 @@ class Params: # (derived from other settings). # # This case needs to be checked often, - # Shorthand for: `(params.use_fallback_tool if params.select_mouse == 'RIGHT' else False)`. + # Shorthand for: `(params.use_fallback_tool if params.select_mouse == 'RIGHTMOUSE' else False)`. "use_fallback_tool_rmb", # Shorthand for: `('CLICK' if params.use_fallback_tool_rmb else params.select_mouse_value)`. "select_mouse_value_fallback", @@ -195,7 +195,7 @@ class Params: self.use_file_single_click = use_file_single_click # Convenience variables: - self.use_fallback_tool_rmb = self.use_fallback_tool if self.select_mouse == 'RIGHT' else False + self.use_fallback_tool_rmb = self.use_fallback_tool if select_mouse == 'RIGHT' else False self.select_mouse_value_fallback = 'CLICK' if self.use_fallback_tool_rmb else self.select_mouse_value self.pie_value = 'CLICK_DRAG' if use_pie_click_drag else 'PRESS' self.tool_tweak_event = {"type": self.tool_tweak, "value": 'ANY'} |