diff options
author | Falk David <falkdavid@gmx.de> | 2021-03-29 16:56:20 +0300 |
---|---|---|
committer | Falk David <falkdavid@gmx.de> | 2021-03-29 16:56:25 +0300 |
commit | 10e05bb413947c16f61e0c429b2a3883ab95c983 (patch) | |
tree | 51e99bb1b23e074c2bd35363689d15bf8dd06a9d /source/blender/editors/gpencil/gpencil_paint.c | |
parent | fa8269cc4ef546987f1cd068100027a2ccbdf31e (diff) |
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.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_paint.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 1217a3a7e8f..beaa5f9b64f 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -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; |