GPencil Cleanup: Remove legacy key to cancel drawing

The 'E' key was set to cancel drawing. This was a change in the
old grease pencil system and is no longer used.
This commit is contained in:
Falk David 2021-03-29 15:56:20 +02:00
parent fa8269cc4e
commit 10e05bb413
Notes: blender-bot 2023-02-14 06:00:50 +01:00
Referenced by issue #87002, Using "E" Key Modifier Hotkey for "gpencil.draw" only draws for a second
1 changed files with 1 additions and 1 deletions

View File

@ -3691,7 +3691,7 @@ static int gpencil_draw_modal(bContext *C, wmOperator *op, const wmEvent *event)
/* Exit painting mode (and/or end current stroke).
*
*/
if (ELEM(event->type, EVT_RETKEY, EVT_PADENTER, EVT_ESCKEY, EVT_SPACEKEY, EVT_EKEY)) {
if (ELEM(event->type, EVT_RETKEY, EVT_PADENTER, EVT_ESCKEY, EVT_SPACEKEY)) {
p->status = GP_STATUS_DONE;
estate = OPERATOR_FINISHED;