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 committed by Jeroen Bakker
parent 094addfe84
commit 7ac5695b29
Notes: blender-bot 2023-02-14 02:30:10 +01:00
Referenced by issue #80905, GPencil: bones cannot be selected using Ctrl + LMB (with Left Selection Preference)
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
1 changed files with 6 additions and 0 deletions

View File

@ -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