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:
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
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue