Fix T42326 trim operator not cancelled by the escape key.
authorAntony Riakiotakis <kalast@gmail.com>
Tue, 21 Oct 2014 09:03:46 +0000 (11:03 +0200)
committerAntony Riakiotakis <kalast@gmail.com>
Tue, 21 Oct 2014 09:03:59 +0000 (11:03 +0200)
source/blender/editors/space_sequencer/sequencer_edit.c

index af70ba3b0861c700a8bb1e4176032dbc8f9c31d9..5cb21ea60db84b4e50e91f866f0d6264db045e15 100644 (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;