Fix T42326 trim operator not cancelled by the escape key.

This commit is contained in:
Antonis Ryakiotakis 2014-10-21 11:03:46 +02:00
parent 560dd932c2
commit 80b44133fc
Notes: blender-bot 2023-02-14 10:43:47 +01:00
Referenced by issue #42325, Crash on .vob video import
Referenced by issue #42326, Trim operation not canceled via ESC key
1 changed files with 2 additions and 0 deletions

View File

@ -1508,6 +1508,8 @@ static int sequencer_trim_modal(bContext *C, wmOperator *op, const wmEvent *even
WM_event_add_notifier(C, NC_SCENE | ND_SEQUENCER, scene);
return OPERATOR_FINISHED;
}
case ESCKEY:
case RIGHTMOUSE:
{
int i;