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
This commit is contained in:
Philipp Oeser 2020-09-17 22:05:27 +02:00
parent 32678e8654
commit a5dccd3320

@ -3656,6 +3656,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