diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-09-17 23:05:27 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-10-07 10:49:15 +0300 |
commit | 7ac5695b2983332aab9ce15810fabd6e69ad0878 (patch) | |
tree | 54b876258d95775a8c76fbde1c5463eba03a5c24 | |
parent | 094addfe84cd7404e5806a99da47f643e0321541 (diff) |
Fix T80905: GPencil: bones cannot be selected using Ctrl + LMB (with Left Selection Preference)
Was missing a dedicated entry for LMB select, this is to be consistent
with how it is done for meshes.
Maniphest Tasks: T80905
Differential Revision: https://developer.blender.org/D8935
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index f2c3a9f1ee5..7bd0fed96a9 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -3604,6 +3604,12 @@ def km_grease_pencil_stroke_weight_mode(params): *_template_items_context_panel("VIEW3D_PT_gpencil_weight_context_menu", params.context_menu_event), ]) + if params.select_mouse == 'LEFTMOUSE': + # Bone selection for combined weight paint + pose mode. + items.extend([ + ("view3d.select", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None), + ]) + return keymap |