Fix T71063: GPencil - Numpad return key cannot be used to confirm primitive
This commit is contained in:
parent
5fa7d8643f
commit
88a346420b
Notes:
blender-bot
2024-01-16 18:05:25 +01:00
Referenced by issue #71063, GPencil: Numpad return key cannot be used to confirm primitive
|
@ -585,6 +585,7 @@ static int gpencil_interpolate_modal(bContext *C, wmOperator *op, const wmEvent
|
|||
|
||||
switch (event->type) {
|
||||
case LEFTMOUSE: /* confirm */
|
||||
case PADENTER:
|
||||
case RETKEY: {
|
||||
/* return to normal cursor and header status */
|
||||
ED_area_status_text(tgpi->sa, NULL);
|
||||
|
|
|
@ -1608,6 +1608,7 @@ static int gpencil_primitive_modal(bContext *C, wmOperator *op, const wmEvent *e
|
|||
}
|
||||
case SPACEKEY: /* confirm */
|
||||
case MIDDLEMOUSE:
|
||||
case PADENTER:
|
||||
case RETKEY: {
|
||||
tgpi->flag = IDLE;
|
||||
gpencil_primitive_interaction_end(C, op, win, tgpi);
|
||||
|
|
Loading…
Reference in New Issue