Fix: Lasso select for Grease Pencil doesn't work in the Nodes Editor
authorJoshua Leung <aligorith@gmail.com>
Sun, 8 May 2016 14:44:21 +0000 (02:44 +1200)
committerJoshua Leung <aligorith@gmail.com>
Sun, 8 May 2016 14:44:21 +0000 (02:44 +1200)
commitc4a5c26a59b368640b530ba30019ee1724f81150
tree868b834214fd9dda463d28184e16e59c07e87182
parent491ad6664ee20efdaf9843d3275b38bdc60f5ba5
Fix: Lasso select for Grease Pencil doesn't work in the Nodes Editor

In the nodes editor, Ctrl-LMB-drag is taken by "Cut", and it seems impossible
for any other keymap to override that. Instead, the default lasso select hotkey
there is Ctrl-Alt-LMB-drag instead.

To get Grease Pencil lasso select (in GP Editmode) to work in the Nodes Editor too,
this commit adds the Ctrl-Alt-LMB-drag binding here too. However, to make things easier,
this extra binding will be part of the Grease Pencil keymap everywhere. There doesn't
seem to be any conflicts with having this in place - until we find them, this should
be ok to have.
source/blender/editors/gpencil/gpencil_ops.c