GPencil: Remove `B` key to create Blank Keyframe in Drawing mode
We have the `I` menu for that. This is part of the old code.
This commit is contained in:
parent
c3de3c2749
commit
0467979425
Notes:
blender-bot
2023-02-14 11:21:43 +01:00
Referenced by issue #88160, Grease Pencil Keyframe moves to the right in the dope sheet on stroke and simultaneously selecting Brush tool using custom shortcut.
|
@ -3677,14 +3677,6 @@ static int gpencil_draw_modal(bContext *C, wmOperator *op, const wmEvent *event)
|
|||
* is essential for ensuring that they can quickly return to that view
|
||||
*/
|
||||
}
|
||||
else if ((event->type == EVT_BKEY) && (event->val == KM_RELEASE)) {
|
||||
/* Add Blank Frame
|
||||
* - Since this operator is non-modal, we can just call it here, and keep going...
|
||||
* - This operator is especially useful when animating
|
||||
*/
|
||||
WM_operator_name_call(C, "GPENCIL_OT_blank_frame_add", WM_OP_EXEC_DEFAULT, NULL);
|
||||
estate = OPERATOR_RUNNING_MODAL;
|
||||
}
|
||||
else if ((!ELEM(p->paintmode, GP_PAINTMODE_ERASER, GP_PAINTMODE_SET_CP))) {
|
||||
gpencil_guide_event_handling(C, op, event, p);
|
||||
estate = OPERATOR_RUNNING_MODAL;
|
||||
|
|
Loading…
Reference in New Issue